wiedi / unhardlink

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unhardlink

Tests if file is a hardlink and in that case replace it with a copy of the same content.

Example

To ensure there are no hardlinks in a directory tree:

find . -type f -links +1 -print0 | xargs -0 unhardlink

About


Languages

Language:C 84.5%Language:M4 10.5%Language:Makefile 4.9%