Thursday, May 3, 2012

list file with absolute path

ls -l -1 $PWD/filename

-l long format
-1 list one file per line
-d list direcotry


reference:
http://stackoverflow.com/questions/3335431/list-files-with-absolute-path-recursive-in-linux
http://stackoverflow.com/questions/246215/how-can-i-list-files-with-their-absolute-path-in-linux

No comments:

Post a Comment