Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moegirlwiki/fileremover
remove the unused file in common.moegirl.org
https://github.com/moegirlwiki/fileremover
Last synced: 12 days ago
JSON representation
remove the unused file in common.moegirl.org
- Host: GitHub
- URL: https://github.com/moegirlwiki/fileremover
- Owner: moegirlwiki
- License: mit
- Created: 2018-06-24T04:44:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T15:58:54.000Z (about 6 years ago)
- Last Synced: 2024-12-17T09:06:07.336Z (17 days ago)
- Language: Python
- Size: 473 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fileRemover
remove the unused file in common.moegirl.orgpython api.py
#command line options
-s --search: search only mode, no file will be removed
-n --exportonly: turn off search function, export results to a file. Need to use with -e option
-e --export : specify a file for exporting results. If file is not existed, it will be created. If file is existed, it will be overwritten.
e.g. : python api.py -s -e "path/to/saved/list" to get all unused files list saved into a file.you may need:
apt-get install python-setuptools
easy_install pip
pip install redis futures requests