Download directly to ~/bt.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 27 Aug 2007 22:32:45 +0000 (22:32 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 27 Aug 2007 22:32:45 +0000 (22:32 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1100 959494ce-11ee-0310-bf91-de5d638817bd

rbtadd

diff --git a/rbtadd b/rbtadd
index 3dad05a..df7570d 100755 (executable)
--- a/rbtadd
+++ b/rbtadd
@@ -7,9 +7,9 @@ fi
 
 for file in "$@"; do
     if [ -r "$file" ]; then
-       rsc pc17 btadd -o - <"$file" && rm -f "$file"
+       rsc pc17 btadd - <"$file" && rm -f "$file"
     elif [[ "$file" == http*://* ]]; then
-       rsc pc17 btadd -o "$file"
+       rsc pc17 btadd "$file"
     else
        echo "rbtadd: $file: unreadable" >&2
     fi