Search This Blog

Friday, May 6, 2011

To tar and gzip directories

#!/bin/sh

for dirs in  AAA   BBB  CCC
do
        tar   cvf    $dirs.tar   $dirs   ;   gzip    $dirs.tar 
done

No comments:

Labels

Bacteria

Loading...