manage your file with a django app. It can remove the duplicate file, and backup your file
- backup multi directory
- delete duplicate file(by md5)
Any file or directory is an object in database
specific which folder should this project scan
a bucket means an isolate file storage.
git clone git@github.com:ramwin/django-file-manager.git
cd django-file-manager
pip install -r ./requirements.txt
python3 manage.py migrate
python3 manage.py init_folder <your directory>
python3 manage.py init_folder <another directory> # you can add multi foler
python3 manage.py scan_folder
python3 manage.py update_md5_in_need
python3 manage.py delete_duplicate --no-act # check before you delete your file
python3 manage.py delete_duplicate