From: Vladimir Karpinsky <vkarpinsky@beep.ru> To: Mikhail Zabaluev <mandrake-russian@altlinux.ru> Subject: Re[2]: [mdk-re] tar-2 Date: Tue Apr 17 09:33:11 2001 Message-ID: <16084815977.20010417093330@beep.ru> (raw) In-Reply-To: <20010416092131.G2941@localhost.localdomain> Hello Mikhail, Monday, April 16, 2001, 9:21:31 AM, you wrote: MZ> Hello Vladimir, MZ> On Wed, Apr 11, 2001 at 03:37:26PM +0400, Vladimir Karpinsky wrote: >> >> Здравствуйте, >> >> к сожалению никто не откликнулся на предыдущий вопрос по ТАРу, хочу >> его проиллюстрировать: >> >> #ls -l ne51 >> total 4027336 >> -rw-rw-r-- 1 karp root 36034 Apr 10 14:46 ne51_1995.lst >> -rw-rw-r-- 1 karp root 16818176 Jun 30 1995 ne51_19950630_134132.dat >> -rw-rw-r-- 1 karp root 9396224 Jul 1 1995 ne51_19950701_154916.dat >> -rw-rw-r-- 1 karp root 16818176 Jul 2 1995 ne51_19950702_024538.dat >> -rw-rw-r-- 1 karp root 16818176 Jul 2 1995 ne51_19950702_204156.dat >> -rw-rw-r-- 1 karp root 9949184 Jul 3 1995 ne51_19950703_143724.dat >> -rw-rw-r-- 1 karp root 16818176 Jul 4 1995 ne51_19950704_011444.dat >> -rw-rw-r-- 1 karp root 10575872 Jul 4 1995 ne51_19950704_192008.dat >> -rw-rw-r-- 1 karp root 8425472 Jul 5 1995 ne51_19950705_084522.dat >> >> #ls -lc ne51 >> total 4027336 >> -rw-rw-r-- 1 karp root 36034 Apr 10 14:46 ne51_1995.lst >> -rw-rw-r-- 1 karp root 8400896 Apr 10 14:25 ne51_19951231_215008.dat >> -rw-rw-r-- 1 karp root 8425472 Apr 9 16:48 ne51_19950913_192136.dat >> -rw-rw-r-- 1 karp root 8425472 Apr 9 16:47 ne51_19950913_102328.dat >> -rw-rw-r-- 1 karp root 2048000 Apr 9 16:47 ne51_19950913_081256.dat >> -rw-rw-r-- 1 karp root 8425472 Apr 9 16:47 ne51_19950912_224552.dat >> -rw-rw-r-- 1 karp root 6287360 Apr 9 16:47 ne51_19950912_160228.dat >> -rw-rw-r-- 1 karp root 8425472 Apr 9 16:46 ne51_19950912_070418.dat >> -rw-rw-r-- 1 karp root 8437760 Apr 9 16:46 ne51_19950911_212514.dat >> >> #tar сv ne51/ >> ne51/ >> ne51/ne51_19950702_204156.dat >> ne51/ne51_19950704_192008.dat >> ne51/ne51_19950706_003014.dat >> ne51/ne51_19950707_033526.dat >> ne51/ne51_19950708_015446.dat >> ne51/ne51_19950709_035300.dat >> ne51/ne51_19950710_064728.dat >> ne51/ne51_19950711_094154.dat >> ne51/ne51_19950712_124350.dat >> ne51/ne51_19950713_161618.dat >> ne51/ne51_19950714_163518.dat >> ne51/ne51_19950715_170146.dat >> ne51/ne51_19950716_171056.dat >> >> Не трудно заметить, что порядок файлов во всех трех случаях различен. >> Сортировка по именам совпадает с ls -l. Время создания файла >> изменялось спецутилиткой после некоторой обработки. MZ> Если нужна сортировка в архиве, можно попробовать так: MZ> tar c $(ls -1 <опции сортировки> каталог...) Спасибо за совет и внимание. А, вот, вообще, по какому принципу происходит подборка файлов при пакетной обработке или ТАР это делает каким-то своим собственным способом? -- Best regards, Vladimir mailto:vkarpinsky@beep.ru From ddv@gsn.magadan.ru Tue Apr 17 09:41:34 2001 Return-Path: <ddv@gsn.magadan.ru> Delivered-To: mandrake-russian@localhost.ru.net Received: from gsn.magadan.ru (eth1-128K.gsn.magadan.ru [213.24.91.42]) by linux.ru.net (Postfix) with ESMTP id A6741DEE for <mandrake-russian@altlinux.ru>; Tue, 17 Apr 2001 09:41:30 +0400 (MSD) Received: from DDV (ddv.gsn.magadan.ru [213.24.91.18]) by gsn.magadan.ru (8.10.2/8.10.2) with ESMTP id f3H5geG23951 for <mandrake-russian@altlinux.ru>; Tue, 17 Apr 2001 17:42:40 +1200 From: Dmitry Dmitriev <ddv@gsn.magadan.ru> X-Mailer: The Bat! (v1.41) X-Priority: 3 (Normal) Message-ID: <6739.010417@gsn.magadan.ru> To: Vladimir Karpinsky <mandrake-russian@altlinux.ru> Subject: Re[3]: [mdk-re] tar-2 In-reply-To: <16084815977.20010417093330@beep.ru> References: <16084815977.20010417093330@beep.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: <mailto:mandrake-russian-request@altlinux.ru?subject=help> List-Post: <mailto:mandrake-russian@altlinux.ru> List-Subscribe: <http://altlinux.ru/mailman/listinfo/mandrake-russian>, <mailto:mandrake-russian-request@altlinux.ru?subject=subscribe> List-Id: Mandrake/RE discussion list <mandrake-russian.altlinux.ru> List-Unsubscribe: <http://altlinux.ru/mailman/listinfo/mandrake-russian>, <mailto:mandrake-russian-request@altlinux.ru?subject=unsubscribe> List-Archive: <http://altlinux.ru/pipermail/mandrake-russian/> Date: Tue Apr 17 09:42:12 2001 X-Original-Date: Tue, 17 Apr 2001 17:44:27 +1200 Привет! On 17.04.2001, 17:33, Vladimir Karpinsky wrote: MZ>> Если нужна сортировка в архиве, можно попробовать так: MZ>> tar c $(ls -1 <опции сортировки> каталог...) > Спасибо за совет и внимание. А, вот, вообще, по какому принципу > происходит подборка файлов при пакетной обработке или ТАР это делает > каким-то своим собственным способом? Есть мнение (возможно неправильное), что tar берет файлы в том порядке, в котором их entries идут в каталоге. То есть, в том порядке, в котором их покажет ls -1f . Дмитрий.
next prev parent reply other threads:[~2001-04-17 9:33 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-04-11 15:39 Vladimir Karpinsky 2001-04-16 22:46 ` Mikhail Zabaluev 2001-04-17 9:33 ` Vladimir Karpinsky [this message] 2001-04-27 9:29 ` Re[2]: " Vladimir Karpinsky 2001-04-29 23:34 ` Mikhail Zabaluev
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=16084815977.20010417093330@beep.ru \ --to=vkarpinsky@beep.ru \ --cc=mandrake-russian@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