On Tue, 7 Jun 2005, Brock Noland wrote:
> Jim, thanks for SO many answers! The +0 setting is ingenious!
What does "-mtime +0" do? I'm not clear on the meaning of the "+". The
man page doesn't help much. The info page is a little better but it isn't
very clear either. Thanks.
Mike
>> I am not sure if I understand what you want, but if you want to
>> use parenthesis in your expression, if you are testing this from
>> a shell depending on which shell you are using, you may need to
>> escape them. So the your second expression would be:
>> find ${TARGET} -type f -user ${USER} \( -mtime +1 -o -mtime 1 \) ! -name 'LogCleanup.list*' -exec gzip -f {} \;
>>
>> If I understand what you want correctly, then I think that you
>> could get the same results with:
>> find ${TARGET} -type f -user ${USER} -mtime +0 ! -name 'LogCleanup.list*' -exec gzip -f {} \;