In the /var/log/ directory, i'm trying to do this command:
find ./ | grep -vi "installer" | xargs rm
with secure remove, srm:
find ./ | grep -vi "installer" | xargs 'srm -d -f -ll -r -v -z -'
I want to secure delete every file EXCEPT the ./installer
directory and the files inside it.
Can xargs do this ?