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


to get rid of all the stuff placed by netatalk before i back it up
now this works:


find /home/ -name ".Apple*" -print0 | rm -rf


so it looks like i'm not understanding bash's use of regexps
anyone care to help out here?

_________________________________
daniel a. g. quinn
starving programmer

thinking is easy, acting is difficult, and to put one's thoughts into action
is the most difficult thing in the world.
 - johann wolfgang von goethe




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to