Docker image for remove unnecessary file in rtorrent
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile feat(): add rtorrent-cleaner.phar Dec 12, 2018
LICENSE feat(): improve Dockerfile Nov 26, 2018
README.md docs(): update readme Nov 27, 2018

README.md

docker-rtorrent-cleaner

Docker image for remove unnecessary file in rtorrent
Docker image https://hub.docker.com/r/magicalex/docker-rtorrent-cleaner/

Tag available

  • latest

Build docker image

docker build -t magicalex/docker-rtorrent-cleaner:latest https://github.com/Magicalex/docker-rtorrent-cleaner.git#master:docker-rtorrent-cleaner

Or

git clone https://github.com/Magicalex/docker-rtorrent-cleaner.git
docker build -t magicalex/docker-rtorrent-cleaner:latest rtorrent-cleaner

Requirements

Usage

Info: change <rtorrent-rutorrent> by the name of your container of rtorrent here: rtorrent-rutorrent
Info: change </home/user/torrents> by your torrents folder

Command for displaying help: rtorrent-cleaner

docker run -it --rm \
  -v </home/user/torrents>:/data/torrents \
  --link <rtorrent-rutorrent>:rtorrent \
  magicalex/docker-rtorrent-cleaner rtorrent-cleaner

If you use your container with a network you can connect rtorrent-cleaner like this:

docker run -it --rm \
  -v </home/user/torrents>:/data/torrents \
  --network <name_of_network> \
  --link <rtorrent-rutorrent>:rtorrent \
  magicalex/docker-rtorrent-cleaner rtorrent-cleaner

Command for making a report: rtorrent-cleaner report

docker run -it --rm \
  -v </home/user/torrents>:/data/torrents \
  --link <rtorrent-rutorrent>:rtorrent \
  magicalex/docker-rtorrent-cleaner rtorrent-cleaner report

Command for remove unnecessary files: rtorrent-cleaner rm

docker run -it --rm \
  -v </home/user/torrents>:/data/torrents \
  --link <rtorrent-rutorrent>:rtorrent \
  magicalex/docker-rtorrent-cleaner rtorrent-cleaner rm

Command for remove unnecessary files without confirmation: rtorrent-cleaner rm --assume-yes

docker run -it --rm \
  -v </home/user/torrents>:/data/torrents \
  --link <rtorrent-rutorrent>:rtorrent \
  magicalex/docker-rtorrent-cleaner rtorrent-cleaner rm --assume-yes

License

docker-rtorrent-cleaner is released under the MIT License