Linux – Unix recursive directory listing with full pathname of file and filesize

filesystemslinux

I'm trying list all files (recursively) with their full path name (including name of the file) followed by their size in bytes. I do not need any '.', '..' entries.

I dont think anything in the 'ls' options would work here.

Best Answer

Try this:

find full_path_to_your_directory -type f -printf '%p %s\n'
Related Question