• Re: zip/unzip

    From Avon@21:1/101 to Black Panther on Saturday, October 03, 2020 21:18:55
    Dan I'm trying to get these working correctly on my linux box but suspect there's an issue. Do you know if the command lines for the compression tools are different for linux vs windows?

    I've moved a copy of Agency over to Linux and was trying to merge nodelists. Most are not merging, only Fido, not sure why. I seem to have infozip zip installed and unzip from debian?

    Just thinking it will be a mix of switches and tools causing me this prob.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Black Panther@21:1/186 to Avon on Saturday, October 03, 2020 02:25:52
    On 03 Oct 2020, 09:18p, Avon said the following...

    Dan I'm trying to get these working correctly on my linux box but suspect there's an issue. Do you know if the command lines for the compression tools are different for linux vs windows?

    I've moved a copy of Agency over to Linux and was trying to merge nodelists. Most are not merging, only Fido, not sure why. I seem to have infozip zip installed and unzip from debian?

    There shouldn't be any differences. Here's what I've got in my Husky config:

    Unpack "unzip -joLqq $a -d $p $f" 0 504b0304
    Pack zip zip -9 -j -q $a $f

    In Mystic:

    Pack zip -qj9 %1 %2
    Unpack unzip -oqqjC "%1" "%2" -d "%3"

    They both seem to work fine. Are you merging them in Mystic?

    Also, make sure you've run 'sudo apt install zip unzip' to install them, as I don't think they come with the base install. :)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/09/27 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From apam@21:1/101 to Black Panther on Sunday, October 04, 2020 00:35:22
    Unpack "unzip -joLqq $a -d $p $f" 0 504b0304

    The L extracts files with lowercase (sometimes)

    Unpack unzip -oqqjC "%1" "%2" -d "%3"

    The C matches files case insensitively.

    I wonder if it's a mixed case problem avon is having? (seems it worked on windows, not linux).

    Might be something to have a look, and see if the extracted files are
    matching the case he's expecting.

    Andrew

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Black Panther@21:1/186 to apam on Saturday, October 03, 2020 13:48:56
    On 04 Oct 2020, 12:35a, apam said the following...

    Unpack "unzip -joLqq $a -d $p $f" 0 504b0304

    The L extracts files with lowercase (sometimes)

    Unpack unzip -oqqjC "%1" "%2" -d "%3"

    The C matches files case insensitively.

    I never even looked to see what those were for...

    I wonder if it's a mixed case problem avon is having? (seems it worked on windows, not linux).

    That is a possibility. Come to think of it, I have had a few zip files that Mystic wasn't able to extract. Perhaps it should be changed to L, and see if that helps... Hmmmm. :)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/09/27 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Avon@21:1/101 to Black Panther on Sunday, October 04, 2020 09:32:56
    On 03 Oct 2020 at 02:25a, Black Panther pondered and said...

    Also, make sure you've run 'sudo apt install zip unzip' to install them, as I don't think they come with the base install. :)

    out of interest what ver of zip/unzip do you run?

    In Mystic:

    Pack zip -qj9 %1 %2
    Unpack unzip -oqqjC "%1" "%2" -d "%3"

    I'm missing the quotes in the unpack line.... I wonder if Linux needs this vs Windows?

    Will try this now...

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Black Panther on Sunday, October 04, 2020 10:12:27
    On 04 Oct 2020 at 09:32a, Avon pondered and said...

    Unpack unzip -oqqjC "%1" "%2" -d "%3"

    I'm missing the quotes in the unpack line.... I wonder if Linux needs
    this vs Windows?

    Will try this now...

    Yep that has helped... I'm now looking at the stock command lines for the latest pre-alpha just to align them with this ver of 64 linux for A46

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Black Panther@21:1/186 to Avon on Saturday, October 03, 2020 19:13:56
    On 04 Oct 2020, 09:32a, Avon said the following...

    Also, make sure you've run 'sudo apt install zip unzip' to install th as I don't think they come with the base install. :)

    out of interest what ver of zip/unzip do you run?

    Let's see, Zip is v3.0 and Unzip is v6.00


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/09/27 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Avon@21:1/101 to Black Panther on Sunday, October 04, 2020 16:04:30
    On 03 Oct 2020 at 07:13p, Black Panther pondered and said...

    Let's see, Zip is v3.0 and Unzip is v6.00

    Yep looks to be the same, thanks :)

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)