snippetbashTip
webtorrent — The interface for WebTorrent. Supports magnets, URLs, info hashes and `.torrent` files. More informa
Viewed 0 times
thecommandsupportsinterfacecliwebtorrentfor
Problem
How to use the
webtorrent command: The interface for WebTorrent. Supports magnets, URLs, info hashes and .torrent files. More information: <https://github.com/webtorrent/webtorrent-cli>.Solution
webtorrent — The interface for WebTorrent. Supports magnets, URLs, info hashes and .torrent files. More information: <https://github.com/webtorrent/webtorrent-cli>.Download a torrent:
webtorrent download "{{torrent_id}}"Stream a torrent to VLC media player:
webtorrent download "{{torrent_id}}" --vlcStream a torrent to a Digital Living Network Alliance (DLNA) device:
webtorrent download "{{torrent_id}}" --dlnaDisplay a list of files for a specific torrent:
webtorrent download "{{torrent_id}}" --selectSpecify a file index from the torrent to download:
webtorrent download "{{torrent_id}}" --select {{index}}Seed a specific file or directory:
webtorrent seed {{path/to/file_or_directory}}Create a new torrent file for the specified file path:
webtorrent create {{path/to/file}}Display information for a magnet URI or
.torrent file:webtorrent info {{path/to/file_or_magnet}}Code Snippets
Download a torrent
webtorrent download "{{torrent_id}}"Stream a torrent to VLC media player
webtorrent download "{{torrent_id}}" --vlcStream a torrent to a Digital Living Network Alliance (DLNA) device
webtorrent download "{{torrent_id}}" --dlnaDisplay a list of files for a specific torrent
webtorrent download "{{torrent_id}}" --selectSpecify a file index from the torrent to download
webtorrent download "{{torrent_id}}" --select {{index}}Context
tldr-pages: common/webtorrent
Revisions (0)
No revisions yet.