I am writing a shell script that takes file paths as input.
For this reason, I need to generate recursive file listings with full paths. For example, the file
readlink -f filename
gives the full absolute path. but if the file is a symlink, u'll get the final resolved name.