Afficher un message
Vieux 19/03/2008, 17h51   #4
pk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: find & exec for several regexp patterns together

pk wrote:

> pk wrote:
>
>> find \( -name "*.aix" -o -name "*.sun*" -o "*.solaris*" \) -exec rm {} \;

>
> Sorry, should have been
>
> find \( -name "*.aix" -o -name "*.sun" -o name "*.solaris" \) -exec rm {}
> \;


>8-(


find \( -name "*.aix" -o -name "*.sun*" -o name "*.solaris*" \) -exec rm {}
\;

--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
  Réponse avec citation
 
Page generated in 0,05257 seconds with 9 queries