From: "Dmytro O. Redchuk" <dor@ldc.net> To: community@altlinux.ru Subject: Re: [Comm] вопросик по tar & gz Date: Fri, 2 Sep 2005 15:06:50 +0300 Message-ID: <20050902120650.GT5082@ldc.net> (raw) In-Reply-To: <2610325435.20050902155417@narod.ru> On Fri, Sep 02, 2005 at 03:54:17PM +0400, Oleg Pan wrote: > Hello community, > > ситуация: > Есть папка /mnt/large > в ней много подпапок вида: > 21.08.05 > 22.08.05 > 23.08.05 > ... > > хочется одной командой получить архив каждой папки в отдельности: > > 21.08.05.tar.gz > 22.08.05.tar.gz > 23.08.05.tar.gz > ... for folder in /mnt/large/* ; do # do that done Если подпапок очень много, bash будет ругаться. Надо будет что-то вроде: ls /mnt/large | while read folder; do # do that done > > Что мне может помочь > > -- > Best regards, > Oleg mailto:wacom@narod.ru > > _______________________________________________ > Community mailing list > Community@altlinux.ru > https://lists.altlinux.ru/mailman/listinfo/community -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk
prev parent reply other threads:[~2005-09-02 12:06 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-09-02 11:54 Oleg Pan 2005-09-02 12:03 ` Eugene Ostapets 2005-09-02 12:06 ` Dmytro O. Redchuk [this message]
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=20050902120650.GT5082@ldc.net \ --to=dor@ldc.net \ --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