update_feeds.sh - dotfiles - These are my dotfiles. There are many like it, but these are mine.
 (HTM) git clone git://jay.scot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       update_feeds.sh (536B)
       ---
            1 #!/bin/sh
            2 #
            3 # wrapper for managing my feed process.
            4 #   - update new feeds
            5 #   - generate mbox of feeds
            6 #   - parse feeds with fdm and push to Maildir format.
            7 
            8 sfeedroot="$HOME/.config/sfeed"
            9 feedsdir="${sfeedroot}/feeds"
           10 fdmconfig="$HOME/.config/sfeed/fdm_config"
           11 
           12 if ! test -r "${fdmconfig}"; then
           13         echo "fdm configuration file \"${fdmconfig}\" does not exist or is not readable." >&2
           14         exit 1
           15 fi
           16 
           17 /usr/local/bin/sfeed_update "${sfeedroot}/sfeedrc"
           18 
           19 sfeed_mbox "${feedsdir}"/* >~/.config/sfeed/mbox
           20 fdm -f "${fdmconfig}" -afeeds fetch