sorter_man Quick way to sort files in bulky directories
Sort files based on extentions and MIME type as well.so if any file dont have extenstion still script gonna detect file type.
first it creates subfolder in current working directory and then sort files based of type and move them to subfolders in new directory.
There are two files
- sorter_mime.py - which sort files and move them.
- mover_undo.py - it can revert back moving operation(warning: it will move all the files from all subdirectories to parent directory)
Prerequisites python 2.7/with few changes python3 as well
import shutil,sys,os,magic (required)
pip install shutil
pip install magic