[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Wed Sep 29 16:06:13 2004 -->
- <!--x-from-r13: Xreel.Kh ng Hbvprpbz.pbz (Kh, Xreel) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] Untar a bunch of .tar.gz and .tgz files -->
- <li><em>date</em>: Wed Sep 29 16:06:13 2004</li>
- <li><em>from</em>: Jerry.Yu at Voicecom.com (Yu, Jerry)</li>
- <li><em>subject</em>: [ale] Untar a bunch of .tar.gz and .tgz files</li>
-----Original Message-----
From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org]On Behalf Of Mike
Murphy
Sent: Wednesday, September 29, 2004 3:50 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Untar a bunch of .tar.gz and .tgz files
The globs are irritating the shell and/or tar. One quick way to to di it
(assuming gnu tar and a bourne shell like shell):
dir = dir with files in them
cd $dir; for file in `ls *.tar.gz`; do tar -zxf $file; done
Mike
Trey Sizemore wrote:
> If I have a folder containing a number of .tar.gz and .tgz files and wish
to
> untar them all, how would I go about doing so? I've tried tar xvfz
*.tar.gz
> and tar xvfz *.gz as well as several other variations, but they all just
> error out with something like all the files listed saying 'Not found in
> archive'
>
> Thanks.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Mike Murphy
781 Inman Mews Drive Atlanta GA 30307
Landline: 404-653-1070
Mobile: 404-545-6234
Email: mike at tyderia.net
AIM: mmichael453
JDAM: 33:45:14.0584N 84:21:43.038W
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
_______________________________________________
Ale mailing list
Ale at ale.org
<a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00993.html">[ale] Untar a bunch of .tar.gz and .tgz files</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00995.html">[ale] Untar a bunch of .tar.gz and .tgz files</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00995.html">[ale] Untar a bunch of .tar.gz and .tgz files</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01002.html">[ale] OT: Origins</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00994"><strong>Date</strong></a></li>
<li><a href="threads.html#00994"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>