g_speran has asked for the wisdom of the Perl Monks concerning the following question:
Hello All,
Please forgive my ignorance in asking this question. I have never made a zip or a compressed file using perl. I am seek perl wisdom on sample code that would zip / compress files and directories.
I Have written a script that creates many files, 46, to be exact. These files are created in the same directory that the script is ran from. The files will look like AAA_file1, AAA_file2, AAA_file3, etc. All beginning with AAA. In addition, the scrip also creates a directory with two sub directories and files located in the directory and the sub directories which also need to be added to the zip / compress file. There may be other files and directories in the current location but will not be needed in the zip / compressed file. The directory name that will be created is called "support"
Any offering / assistance is greatly appreciated.
Gary
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Zip/compress files and directories
by mr_mischief (Monsignor) on Jan 31, 2009 at 05:53 UTC | |
|
Re: Zip/compress files and directories
by jethro (Monsignor) on Jan 31, 2009 at 03:37 UTC | |
|
Re: Zip/compress files and directories
by sathiya.sw (Monk) on Jan 31, 2009 at 12:14 UTC | |
|
Re: Zip/compress files and directories
by Plankton (Vicar) on Jan 31, 2009 at 08:09 UTC | |
|
Re: Zip/compress files and directories
by ikegami (Patriarch) on Jan 31, 2009 at 03:18 UTC | |
|
Re: Zip/compress files and directories
by g_speran (Scribe) on Jan 31, 2009 at 15:31 UTC | |
by johngg (Canon) on Jan 31, 2009 at 21:51 UTC |