At Tue, 11 Jun 2002 04:19:46 +1000, Minh Van Le wrote:
> I'm using GNU Find to create a snapshot of files and their attributes in a
> backup script. What I can't find in the manual is an option to exclude
> specific file systems & directories, or a similar function to
> Tar's --exclude-from option. Find's -mount option prevents descent into
> "other" filesystems, which is not flexible enough as I need to create
> snapshots for numerous "other" filesystems.

you want the "-prune" action. for example:

 find /path -path /path/excludeme -prune -o -print

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to