Last active
January 16, 2018 19:58
-
-
Save patdavid/0335669121edca8266125ea5e7622519 to your computer and use it in GitHub Desktop.
transmission-remote move file location
This file contains hidden or 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
# Get a list of all of the torrent files matching `grep`, and output to a (temp) text file: | |
transmission-remote -l | grep "Good" > list.txt | |
Loop through all lines in the text file, capture first column into $value1, move it! | |
while IFS=" " read -r value1 remainder;do transmission-remote -t $value1 --move /home/pat/Downloads/seeding/;done < list.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment