PDA

View Full Version : Zip a contents of a directory


makro77
11-06-03, 06:29 AM
Hi guys,
I have a running service that copy incoming CSV files in a directory to remote Servers. Now Once a day I must schedule a compression (zip?) of this files (renamed .bak after the copy) and move them into a 'backup' folder.
There's a function for this purpose? If not....any suggestions..?!

Thanks

Chas
11-06-03, 01:28 PM
I've used Archinve::Tar (http://search.cpan.org/~kane/Archive-Tar-1.07/lib/Archive/Tar.pm) from CPAN.org in the past with good results.

~Charlie