|
@@ -139,8 +139,9 @@ case "$CMD" in
|
|
update-feeds)
|
|
update-feeds)
|
|
CUR_DIR=$(pwd)
|
|
CUR_DIR=$(pwd)
|
|
cd $POD_BASE_DIR
|
|
cd $POD_BASE_DIR
|
|
- cut -f2 ${POD_SUB_DIR}/podcasts-list.txt |\
|
|
|
|
- xargs git annex importfeed \
|
|
|
|
|
|
+ grep -v '^# ' ${POD_SUB_DIR}/podcasts-list.txt |\
|
|
|
|
+ cut -f2 |\
|
|
|
|
+ xargs -L1 git annex importfeed \
|
|
--template="${POD_SUB_DIR}/\${feedtitle}/\${itempubdate}-\${itemtitle}\${extension}"
|
|
--template="${POD_SUB_DIR}/\${feedtitle}/\${itempubdate}-\${itemtitle}\${extension}"
|
|
git annex add ${POD_SUB_DIR}
|
|
git annex add ${POD_SUB_DIR}
|
|
git commit -m "Caught podcasts"
|
|
git commit -m "Caught podcasts"
|