Created
November 6, 2014 23:07
-
-
Save dewey/214b9ec50c71223da356 to your computer and use it in GitHub Desktop.
SCP Torrent from directory containing a bunch of torrents to watch directory every 5 seconds and then delete it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in torrents/*; do scp "$f" torrent@example.com:~/rtorrent/watch/watchWHAT/ && rm "$f" ; sleep 5; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment