in reply to Re: creating .tar.gz file
in thread creating .tar.gz file
This creates a archive named xyz.tar containing xyz.txt then$cmd="tar -cvf xyz.tar xyz.txt 2>&1"; system($cmd);
will create the xyz.tar.gz file for you!!$cmd="gzip xyz.tar 2>&1"; system($cmd);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: creating .tar.gz file
by bart (Canon) on Oct 31, 2007 at 12:42 UTC | |
|
Re^3: creating .tar.gz file
by Bloodnok (Vicar) on Oct 31, 2007 at 13:46 UTC |