Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a curl cronjob which periodically downloads a bunch of zip files into a target folder. Like this:

curl www.zipdownloadfile.com/file.zip > file.zip

Now I need to have Ubuntu unzip all of the zip files in that target folder.

What's the proper command which will unzip all of the files in a target destination/folder?

Thanks

share|improve this question

thats your command man this will unzip all zip file in a destination file

find /path-to-folder -name '*.zip' -exec unzip -d destination_folder {} +

Just try it .

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.