LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2012, 02:12 PM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
extracting group of files from a tar.bz that was created with the following tar -


the original tarball was created with

tar -cjvf foo.tar.bz

i need to find all of the dea* files in that tarball. typically i would just extract the entire tarball into a /tmp directory, but the system is low on space and the fully extracted tarball is larger then the remaining space on the / partition.

Code:
$ tar -xvf rx-2012-06-03-0100.tar.bz --wildcards --no-anchored 'dea*'
will that extract the dea* files to the location of the tarball, or to their original location on the server were the tarball was created from?
 
Old 06-06-2012, 03:06 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Original Poster
Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
found the answer, also learned the doing this on a 6G tarball will take close to 45min on the system it is located.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
Extracting particular files on a tar from a tape Berris.Oliver Linux - Newbie 2 04-16-2009 03:04 AM
extracting .tar.gz files in current directory... mitesh.ever Linux - Newbie 4 12-09-2008 06:03 AM
extracting tar.gzip files drmjh Linux - Newbie 6 08-15-2007 02:30 AM
extracting tar.bz2.gz files crank Linux - Newbie 5 04-18-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration