[MSH] Zip / tar / compress / uncompress functionality

Discussion in 'Scripting' started by Keith Hill, Nov 9, 2005.

  1. Keith Hill

    Keith Hill Guest

    This seems like a somewhat significant piece of missing functionality along
    with base64 encode/decode. Too bad since .NET 2.0 provides the GZipStream
    class. A lot of the work is done there.
     
    Keith Hill, Nov 9, 2005
    #1
    1. Advertisements

  2. zip would be nice. But then again, there are many 3rd party tools for that
    already. As for tar, I would not care to see that in msh, but you could
    probably build a cmdlet pretty easy using GZipStream, ditto with
    compress/uncompress. I mean we don't need/want a ksh clone here as you can
    always use ksh/bsh if needed. Most gcc builds I see now use zip for windows
    build targets and tar for unix builds. So not sure I would like to see tar
    promoted in the windows environment.
     
    William Stacey [MVP], Nov 9, 2005
    #2
    1. Advertisements

  3. Keith Hill

    Keith Hill Guest

    Yeah I don't really want tar. Zip would be preferably. However I do want
    something that can eventually replace KSH. I really want one shell that
    meets all my needs. I hate the mental context switch going between the two.
    Anyway I'm willing to accept that V1 might not be there but I'm thinking
    down the road for V2,3,4 etc. If V1 doesn't include zip
    (compress/uncompress) or base64 encode/decode that's OK as long as it makes
    it in down the road. For now, I can use the ZIP command line EXE and hack
    up my own base64 encode/decode.
     
    Keith Hill, Nov 9, 2005
    #3
  4. Yeah I don't really want tar. Zip would be preferably. However I do want
    Well things like tar and compress are not part of the ksh shell either.
    They are just programs like ftp, ping, telnet, and rsh. Same thing with
    zip. Having zip.exe included in the OS distro would be nice. Even nicer to
    have it included as an fx class, so you could create your own programs
    and/or commandlets using the class. As you say, base64 is in the framework,
    so making a commandlet would be pretty easy.
    --wjs
     
    William Stacey [MVP], Nov 9, 2005
    #4
  5. Keith Hill

    Keith Hill Guest

    Keith Hill, Nov 9, 2005
    #5
  6. Keith Hill

    Keith Hill Guest

    Dude, that rocks! I'm definitely adding that my script collection.
     
    Keith Hill, Nov 9, 2005
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.