Архив заметок

transmission-create

Подписаться на эту метку по RSS

Создание торрента в transmission

Просмотров: 8649Комментарии: 2
FreeBSD

Всем привет.

Сегодня напишу заметку по созданию торрента в консоли с помощью утилиты transmission-create.

Итак, для этого нам понадобится собственно установленный transmission и консоль.

Смотрим, что может:

# transmission-create
ERROR: No input file or directory specified.
Usage: transmission-create [options] <file|directory>
Options:
 -h --help              Display this help page and exit
 -p --private           Allow this torrent to only be used with the specified tracker(s)
 -o --outfile <file>    Save the generated .torrent to this filename
 -c --comment <comment> Add a comment
 -t --tracker <url>     Add a tracker's announce URL
 -V --version           Show version number and exit

Ключи все понятны smile Мне для публикации торрента нужен только ключ -o.

Создать торрент для папки:

root@beast:/storage # transmission-create -o The_Walking_Dead_S03.torrent /storage/Serials/Зарубежные/HD/'Ходячие мертвецы'/'The Walking Dead S03 2012'

Создать торрент для файла

root@beast:/storage # transmission-create -o file.torrent /путь/к_вашему/файлу

Что у меня получилось:

root@beast:/storage # transmission-create -o The_Walking_Dead_S03.torrent /storage/Serials/Зарубежные/HD/'Ходячие мертвецы'/'The Walking Dead S03 2012'
WARNING: no trackers specified
Creating torrent "The_Walking_Dead_S03.torrent" ...................................................................................................................................................................................................................................................................................................................................................................................................... done!
root@beast:/storage # ll
total 339
-rw-------  1 root    wheel    188092  4 мар 10:07 The_Walking_Dead_S03.torrent

Ругнулся WARNING: no trackers specified. Мне сия опция не нужна, я ее и не указываю. Если необходимо указать трекер, сделайте это.

Теперь заливаем торрент в клиент, указываем путь и ставим на проверку.