Find and remove duplicated hard link files
To remove duplicated hard link files using following command. The hard link files could be created by rmlint
deduplication.
find . -type f -links +1 -printf '%i %n %p\n' -exec rm '{}' \;
To remove duplicated hard link files using following command. The hard link files could be created by rmlint
deduplication.
find . -type f -links +1 -printf '%i %n %p\n' -exec rm '{}' \;