On 11/17/2010 12:25 AM, Zico wrote:
  I have a very large directory with various documents. And I am trying to
remove all it`s symlinks. Normal symlinks are already being removed. But
symlinks that point to other symlinks, cannot be found. I think there will
only be a few, and I will fix them by hand. And, I want to do something
like:

1. find all symlinks
2. use readlink (or simmilar) to follow link
3. test if new file is also symlink
4. if yes, then print double-symlink


What have you got so far and where are you facing problems ? All 4 steps above contain the exact command you need to for the operation.

cheers,
- steve

--
random spiel: http://lonetwin.net/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to