---+ Problem to be addressed: You have a set of compressed files that all need to be extracted, and you don't want to manually extract each one. ---+ Steps 1 create a new file somewhere in your path called "detar" using your favorite text editor. (can be named anything you want) 1 add the following line to the new file: * for f in *.tar.gz;do tar xvzf $f;done 1 if you are confident that you never want to keep the compressed versions of the files, and you never use the extensions in the naming of the extracted files, you can optionally add the next line: * rm *.tar.gz 1 save and close your file. 1 type "detar" on the command line in any directory containing .tar.gz files. ---+ Notes: -- Main.DanielDeatherage - 09 Sep 2014
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r2
<
r1
|
B
acklinks
|
V
iew topic
|
More topic actions...
Barrick Lab
>
ComputationList
>
UnzipAll
Topic revision: r1 - 2014-09-09 - 21:19:08 - Main.DanielDeatherage
Barrick Lab
Homepage
Contact Information
Michigan State University
Department of Microbiology, Genetics, & Immunology
Department of Entomology
Ecology, Evolution, and Behavior Graduate Program
UT Austin iGEM team
Team
Research
Overview
Publications
Software
Protocols
Protocol List
Reference Information
The LTEE
Copyright ©2025 Barrick Lab contributing authors. Ideas, requests, problems?
Send feedback