What is the best way how to empty a bunch of files in bash? As far I've been doing this
echo "" > development.log
echo "" > production.log
I don't really want to delete those files, so rm
is not possible. I've tried many things like
echo "" > *.log
but nothing worked.