From: Alexei Mezin <alexei.mezin@gmail.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] Копирование файлов по типу
Date: Wed, 20 Oct 2021 14:14:16 +0300
Message-ID: <skotm3$psf$1@ciao.gmane.io> (raw)
In-Reply-To: <skot6l$lut$1@ciao.gmane.io>
20.10.2021 14:06, Alexei Mezin пишет:
>
> Может так?
>
> find ./ОТКУДА/ -type f -name *.h -exec cp --parent '{}' /КУДА \;
>
Вторая ссылка в google("linux copy files with directory structure")
выдает еще множество вариантов :)
https://unix.stackexchange.com/questions/83593/copy-specific-file-type-keeping-the-folder-structure/107647
next prev parent reply other threads:[~2021-10-20 11:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 10:44 А. Куликовский
2021-10-20 11:06 ` Alexei Mezin
2021-10-20 11:14 ` Alexei Mezin [this message]
2021-10-20 11:24 ` Anton V. Boyarshinov
2021-10-20 15:56 ` Vladimir D. Seleznev
2021-10-20 18:32 ` Andrey Savchenko
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='skotm3$psf$1@ciao.gmane.io' \
--to=alexei.mezin@gmail.com \
--cc=community@lists.altlinux.org \
/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