No of files and directories in a particular directory in shell script
126062
Counting files in leaves of directory tree
53375
Trying to delete directory with "rm -rf", but get message that it's not empty
18309
Delete all files in directories except those whose path are listed in a file
97200
What is the command to remove all files but not directories?
150636
Find exclude path containing specific files
103626
Find current directory and file's directory
42072
How to delete the contents of a folder?
121619
How to remove all empty directories in a subtree?
82693
How to test if a file is a directory in a batch script?
132683
Find number of files with a specific extension, in all subdirectories
87860
A star is being printed for an empty directory after running a script to list the subfolder
32952
How can I make ls show information about the directory specified only, not info about its sub-files or folder contents?
18754
Find and create empty files with the same name in another location
134236
How to remove all files in a directory except hidden ones?
61180
Delete directory with files in it?
53647
Check if directory is empty in Ruby
133007
Is there any option with 'ls' command that I see only the directories?