When you really want empty files...
ls | sed -e 's%^%cat /dev/null > %' | bash
- NB: Dangerous.
Comments
I think that one ranks alongside extreme sports
Styles, Rob: When you really want empty files… http://bit.ly/4vGU9f
This comment was originally posted on Twitter
Just write nothing into the file :) for file in `ls -1`; do > $file ; done