Re: Extract file from tar home/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Goodwin wrote:

Here's how it's supposed to work...


[jmccarty@Presario-1 KT-135]$ mkdir check-tar
[jmccarty@Presario-1 KT-135]$ cd check-tar
[jmccarty@Presario-1 check-tar]$ cp -p ../MVC* .
[jmccarty@Presario-1 check-tar]$ ls
MVC-001S.JPG  MVC-008S.JPG  MVC-012S.JPG  MVC-017S.JPG  MVC-021S.JPG
MVC-002S.JPG  MVC-009S.JPG  MVC-013S.JPG  MVC-018S.JPG
MVC-006S.JPG  MVC-010S.JPG  MVC-014S.JPG  MVC-019S.JPG
MVC-007S.JPG  MVC-011S.JPG  MVC-015S.JPG  MVC-020S.JPG
[jmccarty@Presario-1 check-tar]$ ls -l
total 680
-rw-rw-r--  1 jmccarty jmccarty 31974 Feb  6  2006 MVC-001S.JPG
-rw-rw-r--  1 jmccarty jmccarty 35957 Feb  6  2006 MVC-002S.JPG
-rw-rw-r--  1 jmccarty jmccarty 41188 Feb  6  2006 MVC-006S.JPG
-rw-rw-r--  1 jmccarty jmccarty 38881 Feb  6  2006 MVC-007S.JPG
-rw-rw-r--  1 jmccarty jmccarty 34387 Feb  6  2006 MVC-008S.JPG
-rw-rw-r--  1 jmccarty jmccarty 39823 Feb  6  2006 MVC-009S.JPG
-rw-rw-r--  1 jmccarty jmccarty 27970 Feb  6  2006 MVC-010S.JPG
-rw-rw-r--  1 jmccarty jmccarty 23362 Feb  6  2006 MVC-011S.JPG
-rw-rw-r--  1 jmccarty jmccarty 28437 Feb  6  2006 MVC-012S.JPG
-rw-rw-r--  1 jmccarty jmccarty 24928 Feb  6  2006 MVC-013S.JPG
-rw-rw-r--  1 jmccarty jmccarty 28323 Feb  6  2006 MVC-014S.JPG
-rw-rw-r--  1 jmccarty jmccarty 49698 Feb  6  2006 MVC-015S.JPG
-rw-rw-r--  1 jmccarty jmccarty 44635 Feb  6  2006 MVC-017S.JPG
-rw-rw-r--  1 jmccarty jmccarty 50255 Feb  6  2006 MVC-018S.JPG
-rw-rw-r--  1 jmccarty jmccarty 49337 Feb  6  2006 MVC-019S.JPG
-rw-rw-r--  1 jmccarty jmccarty 46651 Feb  6  2006 MVC-020S.JPG
-rw-rw-r--  1 jmccarty jmccarty 49368 Feb  6  2006 MVC-021S.JPG
[jmccarty@Presario-1 check-tar]$ tar czf images.tar.gz *
[jmccarty@Presario-1 check-tar]$ tar tzf images.tar.gz
MVC-001S.JPG
MVC-002S.JPG
MVC-006S.JPG
MVC-007S.JPG
MVC-008S.JPG
MVC-009S.JPG
MVC-010S.JPG
MVC-011S.JPG
MVC-012S.JPG
MVC-013S.JPG
MVC-014S.JPG
MVC-015S.JPG
MVC-017S.JPG
MVC-018S.JPG
MVC-019S.JPG
MVC-020S.JPG
MVC-021S.JPG
[jmccarty@Presario-1 check-tar]$ mkdir untar
[jmccarty@Presario-1 check-tar]$ cd untar
[jmccarty@Presario-1 untar]$ ls
[jmccarty@Presario-1 untar]$ tar xzf ../images.tar.gz MVC-006S.JPG
[jmccarty@Presario-1 untar]$ ls
MVC-006S.JPG
[jmccarty@Presario-1 untar]$ ls -l
total 44
-rw-rw-r--  1 jmccarty jmccarty 41188 Feb  6  2006 MVC-006S.JPG

One does have to use a name which matches, including any path
information which may be stored.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux