Transmission Simple Guide

guruwannabe
  12 years ago
  5

Fri 30 Dec 2011 12:43:24 (GMT+8)

This is a pretty simple list and example of the transmission-remote guide to display some basic and useful options. Yet another beauty of Linux Command Line utility - Simply Beautiful!

ASUS RT-N16 Router running TomatoUSB
Bittorrent Client: Transmission 2.33


{cmd} transmission-remote {/cmd}

---------------------------------
{session highlights}
options:
 -n   --auth       <user:pw>   Set username and password
 -l   --list                               List all torrents


{examples}
transmission-remote
   Note: list the help text
transmission-remote -n 'usrname:pwd' -st
   Note: -n 'usrname:pwd' is needed if your transmission username and password is different
transmission-remote -n 'usrname:pwd' -si
transmission-remote -n 'usrname:pwd' -l
   Note: list all torrents, active, completed or otherwise
transmission-remote -n 'usrname:pwd' -t 3 -f
   Note: list files in torrent number 3
transmission-remote -n 'usrname:pwd' -t 3 -i
   Note: show info about torrent number 3
{/examples}


{/session highlights}

------------------------------
{session details}
/# transmission-remote
transmission-remote 2.33 (12565)
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://host:port/transmission/] [options]

See the man page for detailed explanations and many examples.

Options:
 -h   --help                               Display this help page and exit
 -f   --files                              List the current torrent(s)' files
 -i   --info                               Show the current torrent(s)' details
 -if  --info-files                         List the current torrent(s)' files
 -si  --session-info                       Show the session's details
 -st  --session-stats                      Show the session's statistics
 -l   --list                               List all torrents
 -n   --auth                   <user:pw>   Set username and password
 -t   --torrent                <torrent>   Set the<session details> current torrent(s)
.......... modified and truncated ...

-------------------------
/# transmission-remote -n 'usrname:pwd' -st

CURRENT SESSION
  Uploaded:   1.06 GiB
  Downloaded: 3.00 GiB
  Ratio:      0.35
  Duration:   8 hours

TOTAL
  Started 39 times
  Uploaded:   153.1 GiB
  Downloaded: 90.93 GiB
  Ratio:      1.68
  Duration:   14 days

Note: Substitute 'usrname:pwd' to your username and password if different from log-on. You might not need the -n 'usrname:pwd' option.
------------------
/# transmission-remote -n 'usrname:pwd' -si
VERSION
  Daemon version: 2.33 (12565)
  RPC version: 13
  RPC minimum version: 1

CONFIG
  Configuration directory: /mnt/aces/torrents/.settings
  Download directory: /mnt/aces/torrents
  Download directory free space: 192.7 GiB
  Listenport: 41230
  Portforwarding enabled: Yes
  uTP enabled: Yes
  Distributed hash table enabled: Yes
  Local peer discovery enabled: Yes
  Peer exchange allowed: Yes
  Encryption: preferred
  Maximum memory cache size: 2.00 MiB

LIMITS
  Peer limit: 150
  Default seed ratio limit: Unlimited
  Upload speed limit: 100 KiB/s  (Enabled limit: 100 KiB/s; Disabled turtle limit: 50 KiB/s)
  Download speed limit: Unlimited  (Disabled limit: 248 KiB/s; Disabled turtle limit: 50 KiB/s)

MISC
  Autostart added torrents: Yes
  Delete automatically added torrents: No

---------------------
/# transmission-remote -n 'usrname:pwd' -l
ID     Done       Have  ETA           Up    Down  Ratio  Status       Name
   1   100%   3.24 GiB  Done         0.0     0.0   2.73  Stopped      Books for Children and Parents
   2   100%  654.9 MiB  Done         0.0     0.0   0.79  Stopped      The Web Social Phenomenon
   3     6%   3.33 GiB  29 days     50.0    20.0   0.38  Up & Down    Bobbys Mastery Series
   4   100%   3.77 GiB  Done         0.0     0.0   2.53  Stopped      CommodoreOSVision_Disc1_Beta6_ISO_CommodoreUSA
   5   100%  142.9 MiB  Done         0.0     0.0   0.38  Stopped      Web & Social
   6   100%  151.1 MiB  Done         0.0     0.0   0.00  Stopped      Heart Felt Head Melt
   7   100%  806.6 MiB  Done         0.0     0.0   0.82  Stopped      My Pet Essential Care DVD
   8   100%   3.37 GiB  Done         0.0     0.0   2.54  Stopped      CommodoreOSVision_Disc2_Beta6_ISO_CommodoreUSA
   9   100%  61.82 GiB  Done         0.0     0.0   1.00  Stopped      Goliathe Collectibles
  10   100%   2.99 GiB  Done         0.0     0.0   4.11  Stopped      DigLib [Ver. 1.2] - Part 10 - Mathematics, Natural Sciences, Technology
  11   100%  279.1 MiB  Done         0.0     0.0   2.16  Stopped      Please Light My Passion afire
Sum:         80.51 GiB              50.0    20.0

Note: We would like to know more about torrent number 3 as in the next command option: -t 3
------------------------
/# transmission-remote -n 'usrname:pwd' -t 3 -f
Bobbys Mastery Series (91 files):
  #  Done Priority Get      Size  Name
  0:   2% Normal   Yes 700.0 MiB  Bobbys/Self Mastery 001.avi
  1:   7% Normal   Yes 699.6 MiB  Bobbys/Self Mastery 002.avi
  2:   4% Normal   Yes 700.0 MiB  Bobbys/Self Mastery 003.avi
  3:   7% Normal   Yes 699.6 MiB  Bobbys/Self Mastery 004.avi
  4:   2% Normal   Yes 700.0 MiB  Bobbys/Self Mastery 005.avi
  5:  13% Normal   Yes 700.0 MiB  Bobbys/Self Mastery 006.avi
 29:  .................blah blah blah
 30:   2% Normal   Yes 780.2 MiB  Bobbys/Self Mastery 031.avi
 31:  13% Normal   Yes 700.0 MiB  Bobbys/Self Mastery 032.avi
 32:   1% Normal   Yes 701.8 MiB  Bobbys/Self Mastery 033.avi
 33:   0% Normal   No  780.2 MiB  Bobbys/Self Mastery 034.avi
 74:   0% Normal   No  700.0 MiB  Bobbys/Self Mastery 035.avi
 90:   0% Normal   No  701.8 MiB  Bobbys/Self Mastery 036.avi
   ........... edited and trancated ...

----------------------
/# transmission-remote -n 'usrname:pwd' -t 3 -i
NAME
  Id: 3
  Name: Bobbys Mastery Series
  Hash: a9d6019c4074beb0ae6d81f2a4b7b9ce83b616a9

TRANSFER
  State: Up & Down
  Location: /mnt/aces/torrents
  Percent Done: 6.57%
  ETA: 2 days, 16 hours
  Download Speed: 217 KiB/s
  Upload Speed: 75 KiB/s
  Have: 3.38 GiB (3.36 GiB verified)
  Availability: 100%
  Total size: 57.56 GiB (51.42 GiB wanted)
  Downloaded: 3.38 GiB
  Uploaded: 1.29 GiB
  Ratio: 0.38
  Corrupt DL: 28.00 MiB
  Peers: connected to 30, uploading to 11, downloading from 14

HISTORY
  Date added:       Fri Dec 30 02:39:14 2011
  Date started:     Fri Dec 30 04:16:53 2011
  Latest activity:  Fri Dec 30 13:12:03 2011
  Downloading Time: 6 hours

ORIGINS
  Date created: Fri Sep 12 02:00:21 2008
  Public torrent: Yes
  Creator: BitTorrent/6100
  Piece Count: 29470
  Piece Size: 2.00 MiB

LIMITS & BANDWIDTH
  Download Limit: Unlimited
  Upload Limit: Unlimited
  Ratio Limit: Default
  Honors Session Limits: Yes
  Peer limit: 30
  Bandwidth Priority: Normal

{/session details}

Well, that's all for now. Enjoy :)