On Thu, 2002-04-18 at 15:26, daniel wrote:
> i'm a perlgeek
> so i'm familiar with its style of regular expressions
> but when i'm trying to use one of those regular expressions in a find
> command,
> 
> find /home/ -name "(.Apple(.*))|(Network Trash
> Folder)|(TheVolumeSettingsFolder)" -print0 | rm -rf

Then tell find to use a regex search.  'man find' would tell you that
that -regex argument is available, and what you want instead of -name.
:)

> so it looks like i'm not understanding bash's use of regexps

Also, bash has nothing to do with find.  Find isn't built-in.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to