zip from perl script
Posted on 2000-05-08
Newbie has the following question:
I'm using the zip -command with the 'system' directive in a perl script.
(e.g. system (zip /home/test/test.zip /home/data/source1.txt /home/data/source2.txt);)
The script is run by the webserver (User:wwwrun(nogroup))
The source files come from a script generated filelist-Variable.
Wildcards are useless for my needs.
I've got more than 100 source files, all resident in the same directory.
1. Is there a way to use the same path for all source files
instead of using the whole path for every source-file entry ?
2. How many source files (how many lines of source files) does the zip-routine accept
for input ?
zip offers the possibilty to specify the file list with "-@"
I tried to make an include.list and an exclude.list
Nothing worked ? Any hints, help ?
Thanks in advance