Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2385 of /home/dograus/public_html/dograworld/includes/menu.inc).

Areefbuise's blog

How to find empty directory and file

 

Find emtpy directory with -empty
# find . -type d -empty
 
Remove all empty directories 
# find . -type d -empty -exec rmdir {} \;
 
Find all empty files
# find . -type f -empty
 
Find all non empty files
# find . -type f -not -empty
Subscribe to RSS - Areefbuise's blog

Who's new

  • admin
  • CIIUifBwwC

Who's online

There are currently 0 users online.