Quote:
Originally Posted by circus78
Hi,
I've a folder with several (broken) links. How can I quickly find (in bash) the correct ones?
|
Start by reading the man page on find...pay particular attention to the -type flag. What have you done/tried so far?? A very simple bash script would take a couple minutes:
Code:
if [ ! -L foo ]; then
do something
fi
There are SEVERAL flags that find has that deal with symlinks....