Quantcast
Channel: Removing certain file types that do not contain the hostname in the file name - Ask Ubuntu
Browsing index pages (2 articles)

Removing 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


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 Article

Browsing index pages (2 articles)


Latest Images