[clue-tech] Re: LUNA: Script for Unzipping?

Joseph A. Nagy, Jr. jnagyjr at joseph-a-nagy-jr.us
Sat Apr 30 13:20:54 MDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Apr 30, 2005 at 12:48:48PM -0600, Greg Knaddison wrote the following:
> On 4/30/05, Joseph A. Nagy, Jr. <jnagyjr at joseph-a-nagy-jr.us> wrote:
> > 
> > for i in `ls *zip`; do unzip "$i"; done
> > 
> > That does the job admirably, now I just need to smack the heck out of the
> > unzip program (or the archive creators) for asking me, repeatedly, if I want
> > to overwrite txt files (I do) or rename ttf files (I do). Hehe. :p
> > 
> 
> It is open source...you could just change it and contribute it back
> rather than getting upset.

Who's upset? Minorly frustarted for sure.
 
> If you can't or don't want to hack the source, you can use
> perl::expect and it's ilk to handle these kinds of interaction and
> continuously saying "y" to a prompt.

I'll probably do that as I need to make sure I'm not overwriting font files,
only txt/html/rtf files (basically the readme's, copying, installation
stuff).

- -- 
Joseph A. Nagy Jr.
AIM: pres CTHULHU ICQ: 18115568
Yahoo: pagan_prince Jabber: DarkKnightRadick@(jabber.org|amessage.at)
Skype: jnagyjr01 PGP: 0xCF7EAA67
<http://www.joseph-a-nagy-jr.us> <http://www.jan-jr-ent.biz>
<http://games.joseph-a-nagy-ur.us>
'TIS AN ILL WIND THAT BLOWS NO MINDS
POEE CHAPLIN for the LEGION OF DYNAMIC DISCORD, McMinnville Chapter
Hail Eris! Hail Discord!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0-ecc0.1.6 (GNU/Linux)

iD8DBQFCc9qWoz/s6BFAjRwRAlPxAJ9wFBZS+rjZJ3B80TcG2XCpl43l8wCfVgGT
SQ8GcvxTsnGYErTy4IesThg=
=+2f/
-----END PGP SIGNATURE-----



More information about the clue-tech mailing list