Created
July 31, 2014 18:39
-
-
Save thomasbilk/5365c9730ec2119870c0 to your computer and use it in GitHub Desktop.
Revisions
-
zombat created this gist
Jul 31, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/usr/bin/env bash for fos in `ls /var/repos/*.fossil`; do rss=`echo $fos | sed 's/\/var\/repos\/\(.*\)\.fossil/\1/'`; /usr/local/bin/fossil rss -R $fos --url https://repos.com/$rss > /var/public/rss/$rss.rss; done