I'm trying to update the timestamp to the current time on all of the xml files in my directory (recursively).  I'm using Mac OSX 10.8.5.On about 300,000 files, the following echo command takes 10 seconds:for file in `find . -name *.xml`; do echo >> $file; doneHowever, the following touch command takes 10 minutes! : for file in `find . -name *.xml`; do touch $file; doneWhy is echo so much faster than touch here?
Why is echo so much faster than touch?
shell;command;echo