in reply to Detecting if a folder is a symbolic link
Hi, thanks for all of your replies! I used if(!-l $file && -d $file) and it's working great.
Regards, Ralph