Search found 2 matches

by Paegus
Fri May 27, 2011 8:26 am
Forum: General
Topic: Completion script to rsync files from seedbox
Replies: 3
Views: 4948

Re: Completion script to rsync files from seedbox

the reason seems to be that anything in single quotes is treated literally... ( like so )

so now i just...
echo "rsync $SYNCARGS "$TR_TORRENT_DIR/$TR_TORRENT_NAME" $REMOTEHOST:'\"$TR_TORRENT_DIR\"'" >> $SYNCTMPFILE
chmod +x $SYNCTMPFILE
$SYNCTMPFILE && goodsyncfunction $TR_TORRENT_ID ...
by Paegus
Thu May 19, 2011 9:19 am
Forum: General
Topic: Completion script to rsync files from seedbox
Replies: 3
Views: 4948

Completion script to rsync files from seedbox

I've been working on a download completion script that checks if a remote host is online and if so, rsyncs the file over and then marks it for removal from transmission once the seed ratio is reached (by another cron script). Or If the remote host is down it adds the torrent details to a queue file ...