Cygwin was erroring out when I tried the following:
csh# gunzip articles.tar.gz
After some googling, found that gunzip is symlinked to gzip -d, so I added this line to my .aliases file:
csh# alias gunzip `gzip -d `
This fixed the errors. Now I am able to de-compress a lot of files quickly with this command line script, easier and faster than most GUI zip/compression programs:
csh# sh (sh/ksh is better for scripting than csh IMHO)
# for file in `ls | grep tar`; do
> gunzip $file (aliased to gzip -d in a .aliases file)
> tar -xvf $file
article/
article/article.module
article/CHANGELOG
article/CREDITS
article/INSTALL
article/LICENSE.txt
article/README.txt
autotimezone/
autotimezone/LICENSE.txt
autotimezone/INSTALL.txt
autotimezone/README.txt
autotimezone/autotimezone.module
badbehavior/
badbehavior/badbehavior.module
badbehavior/LICENSE.txt
badbehavior/README.txt
>done
#






0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment