in reply to How to copy files to a new directory, and invoke gzip from Perl on Win32?
Assuming you have tar and gzip installed, the process is the same for unix and windows:
As for copying files, take a look at the standard File::Copy module.system("tar c directoryname|gzip >archive.tar.gz") && die "Error archi +ving directory";
|
|---|