<-- home

Things you'll never be capable of doing in your IDE

This list is not an esoteric one. All the examples here contained are real ones what I faced on everyday experience developing software.

Delete all empty files

I was scripting and some curl and the result of the request where the . name of a file I intended to create But I hadn’t yet captured error . messages and treated accordingly, so when an error came I end up with . multiple files created. All empty. So the thought was: I need to remove. all empty files created in this folder .

To do so:

find . -size 0 | xargs rm -rf

That’s it for now.