in reply to Detecting if a folder is a symbolic link
if( -l $file ) { # file is a symlink } [download]