Difference: UnzipAll (1 vs. 2)

Revision 22021-11-03 - JosephReitman

Line: 1 to 1
 
META TOPICPARENT name="ComputationList"

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

Changed:
<
<
  1. create a new file somewhere in your path called "detar" using your favorite text editor. (can be named anything you want)
>
>
  1. create a new file somewhere in your path using your favorite text editor. (File can be named anything you want, ex. "detar")
 
  1. add the following line to the new file:
    • for f in *.tar.gz;do tar xvzf $f;done
  2. 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
  3. save and close your file.
Changed:
<
<
  1. type "detar" on the command line in any directory containing .tar.gz files.
>
>
  1. type the file name ("detar") on the command line in any directory containing .tar.gz files.
 

Notes:

Revision 12014-09-09 - DanielDeatherage

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ComputationList"

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)
  2. add the following line to the new file:
    • for f in *.tar.gz;do tar xvzf $f;done
  3. 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
  4. save and close your file.
  5. type "detar" on the command line in any directory containing .tar.gz files.

Notes:

-- Main.DanielDeatherage - 09 Sep 2014

 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright ©2022 Barrick Lab contributing authors. Ideas, requests, problems? Send feedback