Article 56GT6 removing a directory with hard linked files

removing a directory with hard linked files

by
Skaperen
from LinuxQuestions.org on (#56GT6)
i have 2 directory trees the appear to be hard linked replicas of each other. if that is true i want to totally remove one of them. but maybe there are files with no replicas or the replicas are in the same directory tree. it would seem reasonable to make a backup before doing this. but these are the backups and they are way too big to backup somewhere else. and i have lots of these to do. it's not about removing files; it's about making sure that rsync can remove a file when it brings in a replacement (e.g. that every file has just one link).

is there a tool that can verify that a directory does not have every link to any file?latest?d=yIl2AUoC8zA latest?i=O5uiWXYl5vA:MyLZ_Er7fyo:F7zBnMy latest?i=O5uiWXYl5vA:MyLZ_Er7fyo:V_sGLiP latest?d=qj6IDK7rITs latest?i=O5uiWXYl5vA:MyLZ_Er7fyo:gIN9vFwO5uiWXYl5vA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments