if( -l $file ) { # file is a symlink } [download]
In reply to Re: Detecting if a folder is a symbolic link by friedo in thread Detecting if a folder is a symbolic link by ralphch