↧
Answer by Ravexina for Removing certain file types that do not contain the...
Your command does not work as expected because of rm *PC-*-*.json! it would expands by shell and includes all PC-x-x.json files. Actually you're using xargs in a wrong way. Something like this should...
View ArticleRemoving certain file types that do not contain the hostname in the file name
I am doing a file deployment for multiple machines per site, so it is much easier for me to zip all the files once and deploy to every machine. However I would like to remove the config for all the...
View Article