S
Simon Schuster
I could go about this a bunch of different ways. my lame bash skills
came up with:
ls -R | grep "zip" | unzip -d /targetdir , which didn't work (I get
confused with the pipes and the input and the whatnot.)
but that's okay, I'd rather just do it all inside ruby. so, I got the
rubyzip gem, but am not finding any examples on how to use it (and I'm
still confused about how to read the documentation) but rubyzip + rio
seems like how I'll go about it, since I'm using rio in other areas
already.
any help on either doing it all in ruby, or the simple bash command
I'm failing to execute, would be helpful thank you much!
came up with:
ls -R | grep "zip" | unzip -d /targetdir , which didn't work (I get
confused with the pipes and the input and the whatnot.)
but that's okay, I'd rather just do it all inside ruby. so, I got the
rubyzip gem, but am not finding any examples on how to use it (and I'm
still confused about how to read the documentation) but rubyzip + rio
seems like how I'll go about it, since I'm using rio in other areas
already.
any help on either doing it all in ruby, or the simple bash command
I'm failing to execute, would be helpful thank you much!