Skip to content

Instantly share code, notes, and snippets.

@thomasbilk
Created July 31, 2014 18:39
Show Gist options
  • Select an option

  • Save thomasbilk/5365c9730ec2119870c0 to your computer and use it in GitHub Desktop.

Select an option

Save thomasbilk/5365c9730ec2119870c0 to your computer and use it in GitHub Desktop.

Revisions

  1. @zombat zombat created this gist Jul 31, 2014.
    5 changes: 5 additions & 0 deletions fossil_rss.sh
    Original 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