[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #5502] find -print0 breaks -path
From: |
Andreas Metzler |
Subject: |
Re: [bug #5502] find -print0 breaks -path |
Date: |
Tue, 23 Sep 2003 22:45:41 +0200 |
User-agent: |
Mutt/1.3.28i |
On Tue, Sep 23, 2003 at 01:51:30PM -0400, address@hidden wrote:
>
> Summary: find -print0 breaks -path
>
> Original Submission: using:
>
> find path ! -path '*/.ssh/*'
>
> seems to correctly exclude /.ssh/ entries, but using:
>
> find path -print0 ! -path '*/.ssh/*'
>
> causes -path to become ineffective.
No. You're just mistaken on how find's syntax works, the order
matters.
You are looking for
find path ! -path '*/.ssh/*' -print0
cu andreas