I know the below command
find . -name System\* -mtime +1 -gzip {} \;
will work to zip the files starting with System... Can some one help me to write a scripts which will automatically give response "y" when ever it asks to confirm...
Also let us say there are multiple folders where this logs exist.. how can we write a for loop kind which will search all folders containing System logs and zip them in there corresponding folders..