thorsummoner / duplicate-files Goto Github PK
View Code? Open in Web Editor NEWFind and remove duplicate files in a directory tree
Home Page: http://thorsummoner.github.io/duplicate-files
Find and remove duplicate files in a directory tree
Home Page: http://thorsummoner.github.io/duplicate-files
when a file match is found we could
check if the containing directory has exactly the name number of items
if it does, check if all the file names matches
if it does, check if all the checksums match
then report duplicate directory
when i call the script like this: python DuplicateFiles.py -root "F:\bomm" it give me this error
File "DuplicateFiles.py", line 43
app.setroot(ARGS.root)
^
TabError: inconsistent use of tabs and spaces in indentation
Why not try Duplicate Files Deleter. It will do a thorough search of your hard disk and find out the two or more duplicate files of the same file which may be stored at different locations. This will give you a comprehensive list of all those files and you can decide for yourself what you want to do with them.
It would appear that broken soft symbolic link and socket files makes DuplicateFiles.py abort.
python DuplicateFiles.py -root /home/egbert/Documents/
Traceback (most recent call last):
File "DuplicateFiles.py", line 50, in <module>
DUPS = find_duplicates( ARGS.root )
File "DuplicateFiles.py", line 21, in find_duplicates
with open( filepath ) as openfile:
IOError: [Errno 6] No such device or address: '/home/egbert/Documents/home/internet/laptops/macosx-home-egbert-hiddenfiles/.ondmd50555'
Notice the socket file type.
$~/work/python/duplicate-files$ ls -lat /home/egbert/Documents/home/internet/laptops/macosx-home-egbert-hiddenfiles/.ondmd50555
sr-x------ 1 egbert egbert 0 Jan 16 2016 /home/egbert/Documents/home/internet/laptops/macosx-home-egbert-hiddenfiles/.ondmd50555
$~/work/python/duplicate-files$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.