Find and remove duplicated hard link files

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 '{}' \;

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


The reCAPTCHA verification period has expired. Please reload the page.