I want to make all files 0 bytes. I tried this: find . -name \* -type f -exec "echo > {}" \; This shows the correct file listing: find . -name \* -type f -exec "ls -l {}" \;