Over a million developers have joined DZone.

Removing Files Of Size Zero

·
// description of your code here
This will delete all files in the current directory with size == 0.


find . -type f -size 0k -exec rm {} \; | awk '{ print $8 }'
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}