LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   extracting group of files from a tar.bz that was created with the following tar - (https://www.linuxquestions.org/questions/linux-newbie-8/extracting-group-of-files-from-a-tar-bz-that-was-created-with-the-following-tar-948866/)

lleb 06-06-2012 02:12 PM

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?

lleb 06-06-2012 03:06 PM

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


All times are GMT -5. The time now is 07:51 PM.