CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
will delete thumbs.db files out of zip files

 



bunjamins
New User

Aug 26, 2010, 2:46 PM

Post #1 of 2 (2110 views)
will delete thumbs.db files out of zip files Can't Post

I would like to have a script that runs through a directory, deletes the thumbs.db files or DS_Store files and also deletes these files from inside of zip files. Does this exist? would it be difficult? I don't know any perl but have written plenty of batch scripts.


Zhris
Enthusiast

Aug 26, 2010, 9:48 PM

Post #2 of 2 (2090 views)
Re: [bunjamins] will delete thumbs.db files out of zip files [In reply to] Can't Post

Hey,

This is quite a trivial task for Perl and by no means would it be difficult to write.

If you are planning on writing a script yourself and need a starting point, the following modules may be of use to you:

- File::Recurse - http://search.cpan.org/dist/File-Recurse/Recurse.pm
- Archive::Zip - http://search.cpan.org/~adamk/Archive-Zip-1.30/lib/Archive/Zip.pm

Chris

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives