How to find and make all files blank

With this simple Find command , you can  find certain files and then make them Blank
find . -name "*.cfg" -type f -exec cp /dev/null {} \;

comments powered by Disqus