How to tar a list of files
Hi all,
I have some files located in /vol0/archives that has several files Eg:- arch_00001.arc , arch_00002.arc, arch_00003.arc I want to tar each of those files into separate tar ball by taking it garbing it from file name sequence, Eg:- arch_00001.arc.tar.gz , arch_00002.arc.tar.gz, arch_00003.arc tar.gz how do I define the tar command to go get those files and tar each file separately, As I mention above Can some one help re this please Lakshan |
Something like this?
Code:
!/bin/sh |
thanks paulsm4, thanks a lot
|
All times are GMT -5. The time now is 12:30 PM. |