On Thu, 18 Apr 2002, 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, > i'm not having much luck > here's what i want to do: > > > find /home/ -name "(.Apple(.*))|(Network Trash > Folder)|(TheVolumeSettingsFolder)" -print0 | rm -rf
You need "shell glob" style expressions, not full regexps. You also need to use multiple -name options joined with "-o" for "or" between them, something like this: find /home \( -name ".Apple*" -o -name "Network Trash Folder" \ -o -name "TheVolumeSettingsFolder" \) -print0 | xargs -0 rm -rf _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list