Re: Mal wieder find...
Andreas Schmidt <andy@space.wh1.tu-dresden.de> writes:
>> find . -type f -exec chmod 640 {} ';'
>>
>> ist der richtige weg, wenn Du die manpage gelesen hättest.
>>
> Hier muss ich aber doch widersprechen und aus man find zitieren (gibt
> es ja zum Glueck auch noch online...):
>
> The string `{}' is replaced by the current file name being processed
> everywhere it occurs in the arguments to the command, not just
> in arguments where it is alone, as in some versions of find. Both of
> these constructions might need to be escaped (with a `\') or quoted
^^^^^^
> to protect them from expansion by the shell.
Wo siehst du einen Widerspruch?
Gruß,
Heike
Reply to: