Tag: dir

Delete Multiple Folders

Remove two directories and their contents recursively rm -rf dir1 dir2

Remove a Directory Recursively

Remove a directory called ‘dir’ and contents recursively rm -rf dir

tree Command

Show files and directories in a tree tree

Graphical representation of sub-directories

This command shows a graphical representation of the current sub-directories. ls -R | grep “:” | sed -e ‘s/://’ -e…

Linux Command to List all the Files Recursively

Recursively list all files in the current folder and all the sub folders ls -R ls -R1

Listing all Files Recursively in Windows

Save the list of all files in a folder in windows – recursively. dir /s /b>FileList.txt [tags]command, dir, directory, folder,…

List All Files in a Folder Recursively

Save the list of all files in a folder – recursively. find .|sed ‘s/\.\///;’ Another option is ls -R -1…