From: "Денис Смирнов" <mithraen@freesource.info>
To: community@altlinux.ru
Subject: Re: [Comm] изменение свойств файла
Date: Fri, 15 Oct 2004 01:50:57 +0400
Message-ID: <20041014215057.GB26247@workstation> (raw)
In-Reply-To: <opsfu5aokgou9itb@post.cnt.ru>
On Thu, Oct 14, 2004 at 06:02:38PM +0400, Владимир Гусев wrote:
ВГ> в каталоге столько файлов, что chmod не может такой список параметров
ВГ> проглотить.
ВГ> чтобы поменять права доступа я через find и sed слил все файлы в файл,
ВГ> каждая строка которого сдержала chmod и полное имя файла. такие файлы
ВГ> делал исполняемые и запускал. размер одного такого файла получался около
ВГ> 20Мб... Вот такие дела...
find <dirname> -print0 | xargs -0r chmod
man find
man xargs
xargs эффективнее чем -exec у find.
--
С уважением, Денис
http://freesource.info
next prev parent reply other threads:[~2004-10-14 21:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-13 22:01 Владимир Гусев
2004-10-14 3:52 ` Denis Kirienko
2004-10-14 5:07 ` Yura Kalinichenko
2004-10-14 4:17 ` Igor Solovyov
2004-10-14 14:02 ` Владимир Гусев
2004-10-14 14:22 ` Re[2]: " Maksim Otstavnov
2004-10-14 15:36 ` Andrey Rahmatullin
2004-10-14 16:27 ` Re[3]: " Maksim Otstavnov
2004-10-14 14:33 ` dima
2004-10-14 21:50 ` Денис Смирнов [this message]
2004-10-14 5:59 ` Mike Lykov
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=20041014215057.GB26247@workstation \
--to=mithraen@freesource.info \
--cc=community@altlinux.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