BitComet Command Line

BitComet Command Line

From BitComet Wiki

Jump to: navigation, search

Commanline Usage

  • BitComet --make <SOURCE> [--output=OUTPUT] [--silent] [--tray]
    • Make torrent
    • -m, --make: Make torrent
    • SOURCE: Source directory or source file of which to make the torrent (absolute path supported).
    • -o, --output: (optional) target location. Leaving this blank means using the same path as the source directory or file, for saving the generated torrent.
    • OUTPUT: path for the generated .torrent file (only absolute path supported).
    • -s, --silent: (optional) start task in silent mode. Automatically make torrent with default parameters without confirmation.
    • --tray:(optional) minimize to system tray at start. This is only valid for the first time when BitComet starts.


  • BitComet <TORRENT_FILE> [--output=OUTPUT] [--silent , [--paused] ] [--tray]
    • Open torrent
    • TORRENT_FILE: Path of the .torrent file.
    • -o, --output: (optional) target location. Leaving this blank means using the same path as the source directory or file, for saving the generated torrent.
    • OUTPUT: Path of the download directory (only absolute path supported ).
    • -s, --silent: (optional) Start task in silent mode. Automatically add task and start downloading without confirmation.
    • -p, --paused: (optional) Start task as paused. Automatically add task but will not start task. This command needs to be used together with -s.
    • --tray: (optional) minimize to system tray at start. This is only valid for the first time when BitComet starts.


  • BitComet --url=<URL> [--silent , [--paused] ] [--tray]
    • Download file with URL.
    • --url: Command for downloading file with url.
    • URL: HTTP, HTTPS, FTP links or BC links.
    • -s, --silent: (optional) Start task in silent mode. Automatically add task and start downloading without confirmation.
    • -p, --paused: (optional) Start task as paused. Automatically add task but will not start task. This command needs to be used together with -s.
    • --tray: (optional) minimize to system tray at start. This is only valid for the first time when BitComet starts.


  • BitComet --tray
    • Start BitComet and minimize to the system tray instead of showing main window. This command is only valid for the first time when BitComet starts.


  • BitComet --help
    • -h, --help Show Command-line usage.


Note:

  1. Fuzzy matching supported. e.g. --hel will be recognized as --help.
  2. Command parameters are case sensitive.