Deleting selected files in a directory through perl

2005-02-04 Thread Kamalraj Singh Madhan, Noida
Hi All, Kindly let me know if this possible, deleting some selected files from a directory through a perl script. This selection would be based on the filename existing in a particular text file, if it exists then delete from directory otherwise not since I do not want to delete all of the file

CGI changes

2005-10-20 Thread Kamalraj Singh Madhan, Noida
Hi Guys, I have a cgi which automates the task of zipping up a complete directory and its sub directories: echo "Content-type: text/html" echo "" echo "" echo "" echo "Building tar file..." echo "" cd /var/www/html/ for type in test; do filen=${type//\//-} echo "Building ${filen}.tgz " tar c