ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] tar-2
Date: Mon Apr 16 22:46:00 2001
Message-ID: <20010416092131.G2941@localhost.localdomain> (raw)
In-Reply-To: <17415713435.20010411153726@beep.ru>; from vkarpinsky@beep.ru on Wed, Apr 11, 2001 at 03:37:26PM +0400

Hello Vladimir,

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. Время создания файла
> изменялось спецутилиткой после некоторой обработки.

Если нужна сортировка в архиве, можно попробовать так:

tar c $(ls -1 <опции сортировки> каталог...)

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Don't be humble ... you're not that great.
		-- Golda Meir



  reply	other threads:[~2001-04-16 22:46 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 [this message]
2001-04-17  9:33   ` Re[2]: " Vladimir Karpinsky
2001-04-27  9:29   ` 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=20010416092131.G2941@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --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