Description : A quick python script to free up disk space by comparing the sha1sum of all file existing in differents folder.
python duplicates-detector-args.py -F /Users/heddar/ /Volumes/Data -E lib
-F or --Folders : folders to fetch
-E or --exclude : Folder or subfolder to not fetch
-S or --file-size : Search file by size
-d or --debug : Debug mode
-v or --verbose" : verbose mode
-q or --quiet" : Silent mode
The scipt is built with standard library
Add the script to a user who've got the right access
The output shows the skipped file or folder specified within the exclude parameter -E
python duplicates-detector-args.py -F /Users/heddar/ /Volumes/Data -E lib
Scanning /USR/XXXX/...
Scanning /USR/XXXX/.eclipse...
Scanning /USR/XXXX/.eclipse/org.eclipse.oomph.jreinfo...
Skipping .......... /USR/XXXX/.eclipse/1846248522_macosx_cocoa_x86_64/configuration/org.eclipse.osgi/143/0/.cp/libswt-pi-cocoa-4758.jnilib Found lib
the -E (exclude parameter ) may show some limites due the for loop, a fix is planed to avoid this issue