Skip to content

Instantly share code, notes, and snippets.

@patdavid
Last active January 16, 2018 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patdavid/0335669121edca8266125ea5e7622519 to your computer and use it in GitHub Desktop.
Save patdavid/0335669121edca8266125ea5e7622519 to your computer and use it in GitHub Desktop.
transmission-remote move file location
# 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