


Then if you want more information, try this: mac:wordpress username$ ls -la *> file-list-full.txt sort will sort out the output of du command. R, -dereference-recursive Read all files under each directory, recursively. This is equivalent to the -d recurse option. Is there a way to use the find command to recursively scan directories for files greater than 1Gb in size and print out the directory path and file name. Note that if no file operand is given, grep searches the working directory. Login as root user using the sudo -i command. r, -recursive Read all files under each directory, recursively, following symbolic links only if they are on the command line. files-all.txt List contents of directory mac:wordpress username$ ls -m1 *> file-list.txt The procedure to find largest files including directories in Linux is as follows: Open the terminal application. files-recursive.txt Get everything find. List all files, first level folders, and their contents ls * -r List all first-level subdirectories and files file */* Save file list to text file */* *>. now having collected some useful commands, I want to post ‘em for future reference. As I’m not an expert in Terminal, it took awhile to figure out the magic recipe. From time to time I have occasion to generate a list all WordPress files or similar.
