Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 355 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 355 Bytes

LinkItHard

Scans all files within a directory mounted as /app for duplicate files. All duplicates are replaced with hard links.

Example:

mkdir -p testfolder
echo "touch my inode" > testfolder/testfile
cp testfolder/testfile testfolder/copy
ls -i testfolder
docker run --rm -v $(pwd)/testfolder/:/app romankonz/linkithard
ls -i testfolder