From: "Dmitry V. Levin" <ldv@fandra.org> To: mandrake-russian@linuxteam.iplabs.ru Subject: [mdk-re] Re: [mdk-re] Как скопировать Date: Tue Jan 16 15:47:01 2001 Message-ID: <20010116155300.C25016@LDV.fandra.org> (raw) In-Reply-To: <3A641E22.2BCFC2B9@asplinux.ru>; from multik@asplinux.ru on Tue, Jan 16, 2001 at 01:10:42PM +0300 [-- Attachment #1: Type: text/plain, Size: 1142 bytes --] On Tue, Jan 16, 2001 at 01:10:42PM +0300, Viacheslav Kaloshin wrote: > > > Подскажите, пожалуйста, как можно все файлы с расширениями *.jpg, например, > > > со всех каталогов скопировать в один к.-либо. Как-то можно это сделать одной > > > командой (одной строкой). > > > > например так: > > find . -name "*.jpg" -exec cp '{}' /home/jpegs ';' так можно. > мы не ищем легких путей ?;-) > cp -R *jpg newcatalog > тоже должно пойти ... А здесь ошибка: 1. если в текущем каталоге нет файлов, удовлетворяющих шаблону "*jpg", то shell вернет вам "*jpg", и копировать будет нечего. 2. если же в текущем каталоге такие файлы есть, то они и будут скопированы, а вот файлы в подкаталогах - нет. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@fandra.org Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html IPLabs Linux Team http://linux.iplabs.ru Fandra Project http://www.fandra.org +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-01-16 15:47 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-01-16 12:11 [mdk-re] ëÁË ÓËÏÐÉÒÏ×ÁÔØ 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 ` Dmitry V. Levin [this message] 2001-01-16 15:59 ` [mdk-re] " Viacheslav Kaloshin 2001-01-17 1:32 ` Mikhail Zabaluev 2001-01-17 7:45 ` [mdk-re] Re: [mdk-re] ëÁË ÓËÏÐÉÒÏ×ÁÔØ Wlad G. Astapkevich 2001-01-16 12:18 ` [mdk-re] Как скопировать 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=20010116155300.C25016@LDV.fandra.org \ --to=ldv@fandra.org \ --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