andrep / harden

"Hardens" symlinks by turning them into real files, by either copying or creating multiple links to the symlink target

This URL has Read+Write access

andrep (author)
Wed May 20 12:05:40 -0700 2009
commit  d2db2e1a8db1d54a5fe6eb71e68c81d17ecd8706
tree    55423e73c3392242e4bd295a13c6456a6a46c1bc
parent  71a581845696a7f80cc2840ca67e84f33e1b32cc
harden /
name age message
file README.markdown Loading commit data...
file harden
README.markdown

harden

harden is a small script that will turn a symbolic link (symlink) into a "real" copy of the file, i.e. "hardening" it. It defaults to creating another hard link to the symlink destination, but can also copy it. Symlinks that point to a directory cannot have multiple hard links created to them, and will be recursively copied instead.

harden is licensed under the WTFPL.

Enjoy,