| Line 23: |
Line 23: |
| | sudo service transmission-daemon stop | | sudo service transmission-daemon stop |
| | sudo service transmission-daemon reload | | sudo service transmission-daemon reload |
| | + | ==== Port Test ==== |
| | + | transmission-remote -n 'user:password' -pt |
| | + | curl http://portcheck.transmissionbt.com/45050 |
| | | | |
| | ==== Aliases ==== | | ==== Aliases ==== |
| Line 45: |
Line 48: |
| | | | |
| | === Command Line Interface === | | === Command Line Interface === |
| | + | ==== List Torrents ==== |
| | + | transmission-remote -n 'username:password' -l |
| | + | ==== Move File ==== |
| | + | transmission-remote -n 'username:password' -t torrent_id_from_list_torrents --move /var/lib/transmission-daemon/downloads/ |
| | + | |
| | + | === transmission remote examples === |
| | ==== Create a torrent file with transmission CLI ==== | | ==== Create a torrent file with transmission CLI ==== |
| − | transmission-create -o /var/lib/transmission-daemon/downloads/files.torrent -c "My comments" -t udp://tracker.openbittorrent.com:80 -t udp://open.demonii.com:1337 -t udp://tracker.coppersurfer.tk:6969 -t udp://tracker.leechers-paradise.org:6969 ~/torrent/complete/ | + | transmission-create -o /var/lib/transmission-daemon/downloads/files.torrent -c "My comments" -t udp://tracker.openbittorrent.com:80 -t udp://open.demonii.com:1337 -t udp://tracker.coppersurfer.tk:6969 -t udp://tracker.leechers-paradise.org:6969 ~/torrent/complete/ -o /var/lib/transmission-daemon/downloads/files.torrent |
| − | | |
| − | -o /var/lib/transmission-daemon/downloads/files.torrent | |
| | | | |
| | New torrent name and where to store the torrent | | New torrent name and where to store the torrent |
| Line 74: |
Line 81: |
| | transmission-create -h | | transmission-create -h |
| | | | |
| − | Add a Torrent | + | ==== Add a Torrent ==== |
| − | | |
| | To add a torrent to the daemon, use this command: | | To add a torrent to the daemon, use this command: |
| | + | transmission-remote -a [path to file].torrent |
| | | | |
| − | transmission-remote -a [path to file].torrent
| + | ==== Torrent Information ==== |
| − | | |
| − | transmission-remote -n 'transmission:transmission' -a /var/lib/transmission-daemon/downloads/files.torrent
| |
| − | | |
| − | Torrent Information | |
| − | | |
| | Display information about torrent's being downloaded | | Display information about torrent's being downloaded |
| | | | |
| Line 90: |
Line 92: |
| | transmission-remote -h | | transmission-remote -h |
| | | | |
| − | List all torrents | + | ==== List all torrents ==== |
| − | | + | transmission-remote -n 'username:password' -l |
| − | Note Authentication is required
| |
| − | | |
| − | transmission-remote -n 'username:password' -l | |
| − | | |
| − | transmission-remote -n 'transmission:transmission' -l
| |
| − | | |
| − | Basic Stats All Torrents
| |
| − | | |
| − | transmission-remote -n 'transmission:transmission' -st
| |
| | | | |
| − | Full Stats All Torrents
| + | ==== Basic Stats All Torrents ==== |
| | + | transmission-remote -n 'transmission:transmission' -st |
| | | | |
| − | transmission-remote -n 'transmission:transmission' -si | + | ==== Full Stats All Torrents ==== |
| | + | transmission-remote -n 'transmission:transmission' -si |
| | | | |
| | Torrent #3 Full Stats | | Torrent #3 Full Stats |
| Line 116: |
Line 111: |
| | Transmission Control | | Transmission Control |
| | | | |
| − | Start all torrents | + | ==== Start all torrents ==== |
| − | | + | transmission-remote -n 'transmission:transmission' -s |
| − | transmission-remote -n 'transmission:transmission' -s | |
| − | | |
| − | Stop all torrents
| |
| − | | |
| − | transmission-remote -n 'transmission:transmission' -S
| |
| − | | |
| − | Start a specific torrent
| |
| − | | |
| − | transmission-remote -s [hash]
| |
| − | | |
| − | transmission-remote -n 'transmission:transmission' -s -t 3
| |
| − | | |
| − | Stop a specific torrent
| |
| − | | |
| − | transmission-remote -S [hash]
| |
| − | | |
| − | transmission-remote -n 'transmission:transmission' -S -t 3
| |
| | | | |
| − | Remove all torrents
| + | ==== Stop all torrents ==== |
| | + | transmission-remote -n 'transmission:transmission' -S |
| | | | |
| − | transmission-remote -n 'transmission:transmission' -r | + | ==== Start a specific torrent ==== |
| | + | transmission-remote -s [hash] |
| | + | transmission-remote -n 'transmission:transmission' -s -t 3 |
| | | | |
| − | Remove a specific torrent
| + | ==== Stop a specific torrent ==== |
| | + | transmission-remote -S [hash] |
| | + | transmission-remote -n 'transmission:transmission' -S -t 3 |
| | | | |
| − | transmission-remote -r [hash] | + | ==== Remove all torrents ==== |
| | + | transmission-remote -n 'transmission:transmission' -r |
| | | | |
| − | transmission-remote -n 'transmission:transmission' -r -t 3 | + | ==== Remove a specific torrent ==== |
| | + | transmission-remote -r [hash] |
| | + | transmission-remote -n 'transmission:transmission' -r -t 3 |
| | | | |
| − | Get hashes for all torrents | + | ==== Get hashes for all torrents ==== |
| | + | transmission-remote -n 'transmission:transmission' -i |
| | | | |
| − | transmission-remote -n 'transmission:transmission' -i | + | ==== Quit the daemon ==== |
| | + | transmission-remote -n 'transmission:transmission' -q |
| | | | |
| − | Quit the daemon
| + | == Move Files Script == |
| | + | <nowiki># 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 |
| | | | |
| − | transmission-remote -n 'transmission:transmission' -q | + | Loop through all lines in the text file, capture first column into $value1, move it! |
| | + | while IFS=" " read -r value1 remainder;do transmission-remote -n 'user:password' -t $value1 --move /home/pat/Downloads/seeding/;done < list.txt</nowiki> |
| | + | == Torrent file location == |
| | + | /var/lib/transmission-daemon/info/torrents |