Unix rm files of same size
Hi all,
I'm looking for a way to remove all files of the same size in one directory, in this case 0bytes. $>rm... Thanks in advance! |
find -size 0 -exec rm {} \;
|
Thanks for response.
Quote:
Quote:
---- |
find /<path>/<to>/<directory> -size 0 -exec rm {} \;
should also restrict the search to the named directory. |
All times are GMT -5. The time now is 03:25 PM. |