I have a folder with many files those have a few sym links pointing to them like
/some_path -> /dir/file1
/some_path2 -> /dir/file2
/some_path3 -> /dir/file3
But I don't remember neither the some_path
s no which files from dir
have sym links pointing to them.
Now I need to delete dir
(I really need it for some reason). And I also want no file to point to any file from dir
since I'll delete it.
How do I unlink those files? What if I just delete dir
, will they unlink by themselves?