Ir al contenido principal

Share torrents with Transmission

To share some files with Transmission daemon and cli tools you must do the following:

* Create the torrent file: transmission-create /path/to/your/very/large/file-or-folder $(curl -sSf https://ngosang.github.io/trackerslist/trackers_best.txt | sed '/^$/d' | sed 's/^/-t /g')

* Add the new torrent to your transmission

  * Through the GUI interface, selecting the folder as the destination. In this example it would be /path/to/your/very/large. Finally launch a verify of the data.

  * Through the CLI interface: transmission-remote 127.0.0.1:9091 --auth=usr:pwd -a -t /path/to/torrent --no-start-paused --trash-torrent --download-dir /path/to/your/very/large

PS: updated list of trackers can be obtained from https://github.com/ngosang/trackerslist

PSS: If you have doubts about BitTorrent it is best to read the specs, at https://wiki.theory.org/index.php/BitTorrentSpecification

PSSS: You can use this script to automate the deployment: https://gist.github.com/debuti/8ba706862b447d18282810e61e65f871

Comentarios

Entradas populares de este blog

Use rclone to mount cloud storage

I realized that the fat clients that allows you to sync your contents are not only wasting CPU cycles but also lots of disk space. Yes, that enables you to have the file opened almost instantly, no matter its size, but for me that use case is almost never needed, I use the cloud storage to save stuff that is in the range of a few MiB. Here is where rclone comes into play, it allows you to mount your storage as if it were a regular disk, and it handles the communication with the cloud servers on the go. As there are many different combinations I'll cover only two Linux w/ Dropbox curl https://rclone.org/install.sh | bash # Use rclone config to add a new remote called db for dropbox MAIN_USER=$SUDO_USER MAIN_USER_HOME=$(grep ^$SUDO_USER: /etc/passwd | head -1 | cut -d: -f6) mkdir /media/db chown $MAIN_USER:$MAIN_USER /media/db cat <<EOF > /lib/systemd/system/rclone-db.service [Unit] Description=Dropbox rclone mount After=multi-user.targetrclone [Service] Type=simple User=$ M...