Download the PHP package magicalex/rtorrent-cleaner without Composer

On this page you can find all versions of the php package magicalex/rtorrent-cleaner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rtorrent-cleaner

rtorrent-cleaner

rtorrent-cleaner is a tool to clean up unnecessary files in rtorrent

styleci stable GitHub All Releases

Requirements

Installation

Install rtorrent-cleaner from phar file (recommended)

The preferred method of installation is to use the rtorrent-cleaner PHAR which can be downloaded from the most recent
Check GitHub Release.

Install rtorrent-cleaner from composer

Install rtorrent-cleaner in global

Install rtorrent-cleaner from DockerHub

Requirements

See the details here

Usage

Displaying help:

Command report for create a report on unnecessary files and missing files:
(Configuration in your rtorrent.rc ex: network.scgi.open_port = localhost:5000)

Example with a socket (file rtorrent.rc network.scgi.open_local = /home/user/rpc.socket)

You can log the console output in a file with the option --log (path: ./rtorrent-cleaner.log)
You can define a path (path: /var/log/rtorrent-cleaner.log)

Command rm for delete unnecessary files in your download folder:

Command mv for move unnecessary files in a specified folder (ex: /home/user/old) :

Command torrents for delete torrents or redownload the missing files:

Option for the command mv, rm and report to ignore files: --exclude-files=

The second example excludes all files .sub and .srt in the output

Option for the command mv, rm and report to ignore directories: --exclude-dirs=
The directories must be relative to directory default of rtorrent (directory.default in rtorrent.rc)

The second example excludes the movies and series directories

Usage with docker

Environment variables

Variable Description Type Default value
PHP_MEMORY_LIMIT Memory limit directive of php optional 128M
PHP_TIMEZONE Timezone directive of php optional UTC

Info: change <container_name> by the name of your container of rtorrent
Info: change </home/user/downloads> by your downloads folder
Info: change </data/downloads> by directory.default of rtorrent. See your file rtorrent.rc

Command for displaying help: rtorrent-cleaner

If you use your container with a network you can connect rtorrent-cleaner like this:
Info: change <network_name> by your network (you can list all the docker networks docker network ls)

Command for making a report: rtorrent-cleaner report rtorrent:5000

You can increase php memory limit if needed with PHP_MEMORY_LIMIT environment variable.
By default, the memory limit is 128M.

You can change the timezone with PHP_TIMEZONE environment variable.
By default, the timezone is UTC.

You can create a script for run rtorrent-cleaner with Docker

Or if you use a socket with rtorrent /run/php/.rtorrent.sock.

Usage:

Or with a socket

Example with the docker image linuxserver/rutorrent

Configure your docker-compose.yml

Run linuxserver/rutorrent

Create your rtorrent-cleaner script in /usr/local/bin folder

After this step you can run rtorrent-cleaner

Build docker image

Build Phar Archive (rtorrent-cleaner.phar)

To build the archive phar, php 7.2 and php-phar extension is required.

License

rtorrent-cleaner is released under the MIT License.


All versions of rtorrent-cleaner with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
ext-json Version *
ext-iconv Version *
ext-xmlrpc Version *
symfony/console Version 3.4.* || 5.1.*
symfony/finder Version 3.4.* || 5.1.*
symfony/stopwatch Version 3.4.* || 5.1.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package magicalex/rtorrent-cleaner contains the following files

Loading the files please wait ....