I want to delete all empty files with a particular extension from a directory and all its subdirectories.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
You can try the following, to confirm upon deleting each file first:
or if you feel more confident:
|
|||||||
|
|
Usually, the answer to “how do I … in a directory and its subdirectories” involves
If your version of
In zsh, you can use the
|
|||
|
|