Skip to content

A tool that scans the filesystem looking for possible duplicate files.

License

Notifications You must be signed in to change notification settings

hillegass/filescan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filescan

A tool that scans the filesystem looking for possible duplicate files.

You invoke it like this:

./filescan ~

And it goes through everything in the ~ directory noting the size and a simple hash for every file. If the size and the hash are equal, it tells you that the two files are probably the same. It also shows their size. Errors come out on stderr. The possible duplicates appear on stdout.

./filescan ~ >dups.txt 2>errs.txt

If you hit control-c while it is running, it will finish the directory it is scanning, quit scanning, and output the results.

2.82 MB:
    /Users/aaron/Properties/1989CollegeAve/Title Exam.pdf
    /Users/aaron/Desktop/1989 College/Title Exam.pdf
2.17 MB:
    /Users/aaron/Downloads/IMG_20190105_082502.jpg
    /Users/aaron/Movies/iMovie Library.imovielibrary/First Day/Original Media/IMG_20190105_082502.jpg

About

A tool that scans the filesystem looking for possible duplicate files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages