ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Bolshakov <s.bolshakov@sam-solutions.net>
To: community@altlinux.ru
Subject: Re: [Comm] tar
Date: Sat, 09 Aug 2003 13:36:36 +0300
Message-ID: <m3vft7f77v.fsf@pc313.belcaf.minsk.by> (raw)
In-Reply-To: <10110223999.20030809022555@NewMail.Ru> (Werstak@newmail.ru's message of "Sat, 9 Aug 2003 02:25:55 +0400")

>>>>> "Werstak" == Werstak  <Werstak> writes:

 >     Hi Michael,
 > Friday, August 8, 2003, 9:19:43 PM, you wrote:

 MB> Я три варианта попробовал
 MB> #tar xzf name.tgz ./xxx.txt
 >                       ^^
 MB> #tar xzf name.tgz ./xxx.txt ./
 MB> #tar xzf name.tgz ./xxx.txt -C /home/...
 MB> Не работает.


 > Не надо указывать относительный путь файла './'

 > #tar xzf name.tgz xxx.txt
 > или так
 > #tar xzf name.tgz zzz/yyy/xxx.txt

Когда ничего не помогает, самое время прочитать документацию.
info tar сообщает:
--- %< ---
Extracting Specific Files
-------------------------

   To extract specific archive members, give their exact member names as
arguments, as printed by `--list' (`-t').

--- %< ---

Иными словами, не стоит рассчитывать, что вам удастся
вытянуть из архива то, чего там нет.
В качестве домашнего задания предлагается обсудить,
чем плох вариант вида tar x \*xxx.txt

-- 


  reply	other threads:[~2003-08-09 10:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-08 16:36 Michael Bykov
2003-08-08 16:41 ` Sergey Bolshakov
2003-08-08 17:19   ` Michael Bykov
2003-08-08 17:25     ` Sergey Bolshakov
2003-08-08 17:50       ` Michael Bykov
2003-08-08 18:50         ` Shur
2003-08-08 22:25     ` Re[2]: " "Werstak"
2003-08-09 10:36       ` Sergey Bolshakov [this message]
2003-08-09 11:25         ` Michael Bykov
2003-08-09 11:51           ` Sergey Bolshakov
2003-08-11 10:56             ` Michael Bykov
2003-08-09 10:36       ` Re[2]: " Michael Bykov
2003-08-08 17:02 ` ILYA Sibgatullin
2003-08-09 10:37 ` Andrey
2003-08-09 10:42   ` Michael Bykov
2003-08-11  3:51 ` BSW

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=m3vft7f77v.fsf@pc313.belcaf.minsk.by \
    --to=s.bolshakov@sam-solutions.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