From: "Wlad G. Astapkevich" <szn59@krasmail.ru>
To: <mandrake-russian@linuxteam.iplabs.ru>
Subject: Re: [mdk-re] Re: [mdk-re] ëÁË ÓËÏÐÉÒÏ×ÁÔØ
Date: Wed Jan 17 07:45:01 2001
Message-ID: <003801c08040$b181a5e0$05011dc8@acorppiii> (raw)
In-Reply-To: <20010116161324.I1520@localhost.localdomain>
Всем СПАСИБО, кто откликнулся.
Владислав Астапкевич
Шушенский РОСЗН
> > "Wlad G. Astapkevich" wrote:
> > >
> > > Здравствуйте, господа.
> > >
> > > Подскажите, пожалуйста, как можно все файлы с расширениями *.jpg,
например,
> > > со всех каталогов скопировать в один к.-либо. Как-то можно это сделать
одной
> > > командой (одной строкой).
> >
> > например так:
> > find . -name "*.jpg" -exec cp '{}' /home/jpegs ';'
Почему-то не срабатывает, говорит: No such file or directory.
Хотя в директории /home я создал целевой каталог (у меня Pics)
Вобщем, вот так сделал: find . -name "*.jpg" -exec cp '{}' /home/Pics ';'
При этом находился в корневике ( cd / ) и делал все под root`ом.
> Более производительный вариант (хотя я боюсь, не "заклинит" ли при
> оооочень большой длине аргументов - с какой-то утилитой такая проблема
была):
>
> cp $(find /dir/to/search -type f -name '*.jpg') /dir/to/put
А вот это сработало !
next prev parent reply other threads:[~2001-01-17 7:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-16 12:11 Wlad G. Astapkevich
2001-01-16 12:16 ` [mdk-re] Как скопировать Rider
2001-01-16 12:26 ` cornet
2001-01-16 13:04 ` Viacheslav Kaloshin
2001-01-16 13:13 ` Rider
2001-01-16 13:34 ` Viacheslav Kaloshin
2001-01-16 13:47 ` Rider
2001-01-16 15:47 ` [mdk-re] " Dmitry V. Levin
2001-01-16 15:59 ` Viacheslav Kaloshin
2001-01-17 1:32 ` Mikhail Zabaluev
2001-01-17 7:45 ` Wlad G. Astapkevich [this message]
2001-01-16 12:18 ` Igor Tarasov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003801c08040$b181a5e0$05011dc8@acorppiii' \
--to=szn59@krasmail.ru \
--cc=mandrake-russian@linuxteam.iplabs.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git