LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03:12 PM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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, 04:06 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:02 PM
Extracting particular files on a tar from a tape Berris.Oliver Linux - Newbie 2 04-16-2009 04:04 AM
extracting .tar.gz files in current directory... mitesh.ever Linux - Newbie 4 12-09-2008 07:03 AM
extracting tar.gzip files drmjh Linux - Newbie 6 08-15-2007 03:30 AM
extracting tar.bz2.gz files crank Linux - Newbie 5 04-19-2004 12:33 AM


All times are GMT -5. The time now is 11:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration