Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeha/download-cleanup
Transmission download folder cleanup
https://github.com/zeha/download-cleanup
Last synced: 24 days ago
JSON representation
Transmission download folder cleanup
- Host: GitHub
- URL: https://github.com/zeha/download-cleanup
- Owner: zeha
- License: mit
- Created: 2014-03-26T03:49:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-29T11:56:40.000Z (over 10 years ago)
- Last Synced: 2024-04-21T02:19:24.257Z (7 months ago)
- Language: Python
- Homepage:
- Size: 160 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
download-cleanup
================Transmission download folder cleanup utility.
You must have `incomplete-dir-enabled` in your Transmission config (for now).
Show unreferenced files
-----------------------Just run it:
% ./download-cleanup
File1
File2
...Move unreferenced files elsewhere
---------------------------------Add `--move-to ~/Done`:
% ./download-cleanup --move-to ~/Done
INFO: Moving u'/home/ch/Downloads/File1' -> u'/home/ch/Done/File1' ...
INFO: Moving u'/home/ch/Downloads/File2' -> u'/home/ch/Done/File2' ...
...Additional options
------------------See `--help`:
% ./download-cleanup --help
usage: download-cleanup [-h] [--debug] [--transmission-dir TRANSMISSION_DIR]
[--download-dir DOWNLOAD_DIR] [--move-to MOVE_TO]
[--ignore IGNORE]optional arguments:
-h, --help show this help message and exit
--debug
--transmission-dir TRANSMISSION_DIR
Transmission state/config dir (auto-detected)
--download-dir DOWNLOAD_DIR
Download directory (auto-detected)
--move-to MOVE_TO If given, leftover files/dirs are moved to this path
--ignore IGNORE Ignore files/directories matching this patternDebugging
---------Try `--debug`.
Most error cases are untested. Non-Linux or old Linux platforms are untested.