Find command to return absolute path
Try searching from $cwd
:
find $cwd -name \*.f
I got it to work using $PWD
:
find $PWD -name \*.f
You should use the command realpath to resolve the path :
find . -name "*.f" -exec realpath {} \;
Try searching from $cwd
:
find $cwd -name \*.f
I got it to work using $PWD
:
find $PWD -name \*.f
You should use the command realpath to resolve the path :
find . -name "*.f" -exec realpath {} \;