The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-27-2008
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
Problem with find in script

Hi

I am updating one script as follows

find $HOME -mount -size +1 \( ! \( -name *_Entry_*.xml.gz \) -name "*.gz" -o -name "*.Z" \) -mtime +1 -print |

becomes:

find $HOME -mount -size +1 \( ! \( -name *_Entry_*.xml.gz -o -name *_ECI_*.xml.gz \) -name "*.gz" -o -name "*.Z" \) -mtime +1 -print |

But it seems that the newer version does not work.

Could you pls help me and tell me what I'm doing wrong.

Thanks a lot
Cheers
Gnom