Changeset 296
- Timestamp:
- Apr 7, 2011, 9:42:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
transmission/torrent-sync.sh
r295 r296 32 32 TARGET=$TORRENTQUEUE/`basename $TORRENT` 33 33 URI=$TORRENTURL$TORRENT 34 if [ \! -r $TARGET ]; then 34 if [ -r $TARGET.added ]; then 35 echo "# Torrent $TARGET already exist" 36 elif [ -r $TARGET ]; then 37 echo "# Torrent $TARGET already exist, but not yet added" 38 else 35 39 echo "# Adding torrent $TARGET ($URI)" 36 40 fetch -qo $TARGET $URI 37 else38 echo "# Torrent $TARGET already exist"39 41 fi 40 42 done
Note:
See TracChangeset
for help on using the changeset viewer.