Monday, September 25, 2017

software recommendation - Which torrent client has command line arguments to start/stop downloads?



first of all, I want to create shell script to start/stop downloads in torrent client. I don't need CLI but if you know how I can do that with CLI using shell script then it is okay.



I use jDownloader which is GUI based application but has some command line arguments as below which I use to start/stop download.



-h/--help       Show this help message
-a/--add-link(s) Add links
-co/--add-container(s) Add containers
-d/--start-download Start download

-D/--stop-download Stop download
-H/--hide Don't open Linkgrabber when adding Links
-m/--minimize Minimize download window
-f/--focus Get jD to foreground/focus
-s/--show Show JAC prepared captchas
-t/--train Train a JAC method
-r/--reconnect Perform a Reconnect
-C/--captcha Get code from image using JAntiCaptcha
-p/--add-password(s) Add passwords
-n --new-instance Force new instance if another jD is running



So I can easily start/stop download as follows,



jdownloader --start-download
jdownloader --stop-download


now I want torrent client to do that through shell script.




I use Flush to start or stop torrent downloads of running instance through terminal.



I can use these options with flush.



  --start={all,downloads,uploads}     Start torrents  
--stop={all,downloads,uploads} Stop torrents






Command line options for other torrent clients



1. Deluge have very few options



Usage: deluge-gtk [options]

Options:
--version show program's version number and exit
-h, --help show this help message and exit


Common Options:
-c CONFIG, --config=CONFIG
Set the config folder location
-l LOGFILE, --logfile=LOGFILE
Output to designated logfile instead of stdout
-L LOGLEVEL, --loglevel=LOGLEVEL
Set the log level: none, info, warning, error,
critical, debug
-q, --quiet Sets the log level to 'none', this is the same as `-L
none`



2. For Transmission



Usage:
transmission-gtk [OPTION...] [torrent files or urls]

Help Options:
-h, --help Show help options
--help-all Show all help options

--help-gtk Show GTK+ Options

GTK+ Options
--class=CLASS Program class as used by the window manager
--name=NAME Program name as used by the window manager
--screen=SCREEN X screen to use
--sync Make X calls synchronous
--gtk-module=MODULES Load additional GTK+ modules
--g-fatal-warnings Make all warnings fatal


Application Options:
-p, --paused Start with all torrents paused
--version Show version number and exit
-m, --minimized Start minimized in notification area
-g, --config-dir Where to look for configuration files
--display=DISPLAY X display to use


3. qbittorrent options




Usage:
qbittorrent --version: displays program version
qbittorrent --no-splash: disable splash screen
qbittorrent --help: displays this help message
qbittorrent --webui-port=x: changes the webui port (current: 8080)
qbittorrent [files or urls]: downloads the torrents passed by the user (optional)

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...