Skip to content

Commit

Permalink
Create empty.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zebadee2010 committed Oct 12, 2019
1 parent 7e4a0f9 commit f40c034
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions empty.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

#find empty files in current director
find -type f -empty -delete

#find empty directories in current directory
find -type d -empty -delete

0 comments on commit f40c034

Please sign in to comment.