Include freemind directory in zip archive

  • Anonymous - 2012-06-24


    it would be great if the archive contained the parent directory with freemind (freemind-1.0.0_Beta_5).
    Currently all files are extracted into current directory.
    Of course one can use something like unzip -d freemind-1.0.0_Beta_5, but sometimes I forget and have to find all files in the current directory belonging to freemind, create freemind directory and move them there.

    Jiří Pejchal

  • LogicDaemon

    LogicDaemon - 2012-06-24

    I discommend this.
    Because I am using VFSs, and always unpack archives to corresponding subdirectory.
    So this will make me go two redundant directories deep.

    Also, Windows unzip to subdirectory by default.

    In linux, you can use

    7z x \*.7z -o\*

    or any archive name instead of "\*.7z". This will save you from typing output dir name.

    (you'll need p7zip for this)

  • LogicDaemon

    LogicDaemon - 2012-06-24

    I mean literally, you can unpack with command

    7z x -o\*

    and it will create dir "freemind-bin-max-1.0.0_Beta_5" for you.

    Screening of * is required because shell will otherwise expand it on its own (which isn't what you want).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks