How can I generate a list of files with their absolute path in Linux?
If you give find an absolute path to start with, it will print absolute paths. For instance, to find all .htaccess files in the current directory: or if your shell expands $PWD to the current directory: find simply prepends the path it was given to a relative path to the file from that path. Greg Hewgill also suggested using pwd -P if you … Read more