====== transmission-remote ====== {{tag>transmission frostwall}} List all torrents transmission-remote -n Transmission:password -l List all files in a torrent transmission-remote -n Transmission:password -t 65 -f Set all to not download transmission-remote -n Transmission:password -t 65 -G all Set file 37 to download transmission-remote -n Transmission:password -t 65 -g37 Get file numbers from search string # transmission-remote -n Transmission:password -t 140 -f | grep -i "resident evil" | awk '{print $1}' | sed 's/:/,/'|tr -d '\n' 12,14,159,217, Set all 100% downloaded files to 'download' (after setting all files to not download) $ transmission-remote 192.168.1.24:9091 -n transmission:password -t 104 -f | grep -i '100%' | awk '{print $1}' | sed 's/://g' | paste -sd, - | xargs -I {} transmission-remote 192.168.1.24:9091 -n transmission:password -t 104 -g{} ===== Help ===== [~] # transmission-remote transmission-remote 2.84 (14307) A fast and easy BitTorrent client http://www.transmissionbt.com/ Usage: transmission-remote [host] [options] transmission-remote [port] [options] transmission-remote [host:port] [options] transmission-remote [http(s?)://host:port/transmission/] [options] See the man page for detailed explanations and many examples. Options: -h --help Display this help page and exit -a --add Add torrent files by filename or URL -as --alt-speed Use the alternate Limits -AS --no-alt-speed Don't use the alternate Limits -asd --alt-speed-downlimit max alternate download speed (in kB/s) -asu --alt-speed-uplimit max alternate upload speed (in kB/s) -asc --alt-speed-scheduler Use the scheduled on/off times -ASC --no-alt-speed-scheduler Don't use the scheduled on/off times --alt-speed-time-begin Where to store new torrents until they're complete -C --no-incomplete-dir Don't store incomplete torrents in a different location -b --debug Print debugging information -d --downlimit Set the max download speed in kB/s for the current torrent(s) or globally -D --no-downlimit Disable max download speed for the current torrent(s) or globally -e --cache Set the maximum size of the session's memory cache (in MiB) -er --encryption-required Encrypt all peer connections -ep --encryption-preferred Prefer encrypted peer connections -et --encryption-tolerated Prefer unencrypted peer connections --exit Tell the transmission session to shut down -f --files List the current torrent(s)' files -g --get Mark files for download -G --no-get Mark files for not downloading -i --info Show the current torrent(s)' details -if --info-files List the current torrent(s)' files -ip --info-peers List the current torrent(s)' peers -ic --info-pieces List the current torrent(s)' pieces -it --info-trackers List the current torrent(s)' trackers -si --session-info Show the session's details -st --session-stats Show the session's statistics -l --list List all torrents --move Move current torrent's data to a new folder --find Tell Transmission where to find a torrent's data -m --portmap Enable portmapping via NAT-PMP or UPnP -M --no-portmap Disable portmapping -n --auth Set username and password -ne --authenv Set authentication info from the TR_AUTH environment variable (user:pw) -N --netrc Set authentication info from a .netrc file --ssl Use SSL when talking to daemon -o --dht Enable distributed hash tables (DHT) -O --no-dht Disable distributed hash tables (DHT) -p --port Port for incoming peers (Default: 51413) -pt --port-test Port testing -P --random-port Random port for incomping peers -ph --priority-high Try to download these file(s) first -pn --priority-normal Try to download these file(s) normally -pl --priority-low Try to download these file(s) last -Bh --bandwidth-high Give this torrent first chance at available bandwidth -Bn --bandwidth-normal Give this torrent bandwidth left over by high priority torrents -Bl --bandwidth-low Give this torrent bandwidth left over by high and normal priority torrents --reannounce Reannounce the current torrent(s) -r --remove Remove the current torrent(s) -pr --peers Set the maximum number of peers for the current torrent(s) or globally --remove-and-delete Remove the current torrent(s) and delete local data --torrent-done-script Specify a script to run when a torrent finishes --no-torrent-done-script Don't run a script when torrents finish -sr --seedratio ratio Let the current torrent(s) seed until a specific ratio -srd --seedratio-default Let the current torrent(s) use the global seedratio settings -SR --no-seedratio Let the current torrent(s) seed regardless of ratio -gsr --global-seedratio ratio All torrents, unless overridden by a per-torrent setting, should seed until a specific ratio -GSR --no-global-seedratio All torrents, unless overridden by a per-torrent setting, should seed regardless of ratio -td --tracker-add Add a tracker to a torrent -tr --tracker-remove Remove a tracker from a torrent -s --start Start the current torrent(s) -S --stop Stop the current torrent(s) -t --torrent Set the current torrent(s) --start-paused Start added torrents paused --no-start-paused Start added torrents unpaused --trash-torrent Delete torrents after adding --no-trash-torrent Do not delete torrents after adding -hl --honor-session Make the current torrent(s) honor the session limits -HL --no-honor-session Make the current torrent(s) not honor the session limits -u --uplimit Set the max upload speed in kB/s for the current torrent(s) or globally -U --no-uplimit Disable max upload speed for the current torrent(s) or globally --utp Enable uTP for peer connections --no-utp Disable uTP for peer connections -v --verify Verify the current torrent(s) -V --version Show version number and exit -w --download-dir When used in conjunction with --add, set the new torrent's download folder. Otherwise, set the default download folder -x --pex Enable peer exchange (PEX) -X --no-pex Disable peer exchange (PEX) -y --lpd Enable local peer discovery (LPD) -Y --no-lpd Disable local peer discovery (LPD) -pi --peer-info List the current torrent(s)' peers ===== Debian / Ubuntu Installation ===== sudo add-apt-repository ppa:transmissionbt/ppa apt-get install transmission-cli ==== References ==== [[https://help.ubuntu.com/community/TransmissionHowTo|TransmissionHowTo]]