1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

requesting assistance with zip files

Discussion in 'General Scripting Chat' started by eviltomato, Oct 22, 2012.

  1. eviltomato

    eviltomato Regular Member

    Joined:
    Mar 27, 2012
    Messages:
    220
    Likes Received:
    37
    ok i have about 7,000 zip files with PLR content. Trying to find an automated way to add a file to every one of those zip files. Drag and drop would take days to do that. Been looking around the net and have not turned up much.

    thx
     
  2. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,612
    Likes Received:
    11,233
    Occupation:
    Pusillanimous Knitter
    Location:
    Buenos Aires
    Zip can add new files with the -u parameter. Find the proper syntax to do what you want and then make a script to automate it for all the files.
     
  3. eviltomato

    eviltomato Regular Member

    Joined:
    Mar 27, 2012
    Messages:
    220
    Likes Received:
    37
    thanks much. did a dir > list.txt. I then put that in excel and built some quick functions to make a command. replicated it down 7000 lines.. put it into the winzip command line... boom done.

    thanks!