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