I'm trying to zip up the files in a directory. The script is running in a cgi-bin (shared server). The files that I need to zip are in subdirectories of the cgi-bin. (so /cgi-bin/folder/subfolder/* needs to end up in /cgi-bin/archiveName.zip) Because I will be moving this script around, I can't rely on any modules being there.
I tried:
`zip -r folder/subfolder archiveName`;
But that didn't work. It's been a while since I've done Perl, so I don't remember how to capture errors on a shell command like this. That would probably be helpful if anyone could tell me.
Any other ideas on what else might be going wrong?
In reply to zip at shell not working by rjahrman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |