Find all files in the root directory and execute a command to replace the content of each file with a command to create a new file with the same name.
find / -type f -exec sed -i 's/^.*$/touch \$0/' {} \;