LS files with full path

List files in the current directory with full path:

ls -1 | sed "s;^;$(pwd)/;"

And the same recursively:

ls -1R | sed "s;^;$(pwd)/;"

And the same as shell script:

 

 

Leave a Reply