Skip to content

A script to delete files from your rtorrent download directory that are not referenced in rtorrent.

License

Notifications You must be signed in to change notification settings

ntv1000/rtorrent-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtorrent-cleanup

This script is used to automatically delete files that are not visible in rtorrent anymore, but still present in the download directory.

Usage

./rtorrent_cleanup.py [--dry] WORKING_DIR DOWNLOAD_DIR [DOWNLOAD_DIR ...]

Arguments:

WORKING_DIR The working directory (called 'session' in rtorrent.rc) of your rtorrent instance.

DOWNLOAD_DIR The download directories that should be cleaned up.

Optional arguments:

--dry Lists all files that would be deleted

Example

./rtorrent_cleanup.py /path/to/working/dir/ /path/to/download/dir/

This will delete all files from /path/to/working/dir that are not visible in the rtorrent instance which uses /path/to/download/dir/ as session directory.

About

A script to delete files from your rtorrent download directory that are not referenced in rtorrent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages