find command and multiple * usage
Please can i use:
find /home/username/public_html/_sub/*/wp-content/*cache* -type f -delete
command to empty all folders contianing "cache" in wp-content directory.
issue is that in /home/username/public_html/_sub/
i have around 50 folders and i want to use this rule on all of them, so im using *.
im asking there because im afraid could delete whole /_sub contents or similar horror story
i just want to empty folders containing cache in that wp-content directories
i cant say it my english is bad
is above command safe?
|