Script to find symlink
Hi,
I've a folder with several (broken) links. How can I quickly find (in bash) the correct ones? |
Quote:
Code:
if [ ! -L foo ]; then |
Please clarify your question.
You have a folder with several broken links. A broken link means that it's a symbolic link that points to a file that does not exist. Now you want to find the correct "ones". Which "ones"? What does that mean? Are you trying to find unbroken links? The updated name/location of the target of your broken links? |
...or see 'man symlinks'?
|
All times are GMT -5. The time now is 02:44 AM. |