[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Как можно собрать файлы из множества директорий в одну ?



On Wed, 03 Feb 2010 20:42:43 +0300
Artem Chuprina <ran@cryptocom.ru> wrote:

> Serhiy Storchaka -> debian-russian@lists.debian.org  @ Wed, 03 Feb 2010 18:36:06 +0200:
> 
>  >> И радостное бл******** на перво же файле с \n в имени.
> 
>  SS> find -name '*
>  SS> *' -exec rm -rf '{}' +
> 
> + - это уже не POSIX ни разу.

Разве?
http://www.opengroup.org/onlinepubs/000095399/utilities/find.html
...
-exec  utility_name  [argument ...] ;
-exec  utility_name  [argument ...]   {} +
    The end of the primary expression shall be punctuated by a semicolon
    or by a plus sign. Only a plus sign that follows an argument
    containing the two characters "{}" shall punctuate the end of the
    primary expression. Other uses of the plus sign shall not be treated
    as special. 
...

-- 
Alexander Galanin

Attachment: pgpaHBsmj08OM.pgp
Description: PGP signature


Reply to: