Is there any built in task to unzip (untar) downloaded file? #9

stereobooster opened this Issue Jun 26, 2012 · 3 comments


None yet

3 participants


No description provided.

grosser commented Jun 26, 2012

Unzipping tars is kind of a hairy issue, you need the specific unzipper and most of the times you have to move the unzipped content around since they are in different localtions.

I think the sexiest thing would be to do:

from '' do |files_as_hash|
  file "xxx.js", "inside_tar/xx.min.js"
drewda commented Nov 11, 2013

@grosser, just wondering if this is still on your list? Or for now should I just do an exec hack?

grosser commented Nov 12, 2013

you can give it a try, by adding something like :unzip => true and then do whatever your system supports and if someone has an issue with that they can not use it or fix it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment