I hope this doesn’t violate the low-quality rule. For those who don’t know, when you right click an archive in Dolphin, the extract menu has a “Extract archive here, autodetect subfolder” option and its absolutely brilliant! If you’ve ever extracted a zip, tar, etc and ended up with files splattered everywhere this feature will prevent that. Basically when you choose this option it will:

  • Look to see if the archive has a top level folder, if it does, it will extract it normally
  • If it does not (so all of the files are at the top level), it will automatically create a folder for the archive and extract those top level files into it

It’s something I really wish other file managers had, and is just another one of those features from the KDE team that gives me the “The developer(s) who created this also use this in their daily lives” impression (which is not to say that others don’t). You can of course just open your favorite archive utility and manually check, then manually make the folder yourself and extract the files into there, but this lets me skip those couple of steps and I appreciate that so much.

  • markstos@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    1 year ago

    It’s a useful feature, but I couldn’t have guessed your explanation from the name.

    It seems to me that the default extract option should work that way and this option should just be removed from the menu.

    I have never once wanted extracting an archive file to litter the current directory with files.

    The only exception would be an archive which contains a single inner file.

    • russjr08@outpost.zeuslink.netOP
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      It would be nice if it were at least configurable to set as the default extract option. If I had to take a guess, it'd be that it's not the default option because the amount of single files before needing a subfolder could vary between different people. Some folks may want only one, and others may be fine if it goes up to say 3. However, I suppose that could also just be a configurable option.

      That being said, I've at the very least developed the muscle memory to always click that option no matter what. I can't tell by your comment if you weren't aware of the feature, but if not then hopefully it can be of use to you moving forward as well!

    • Discover5164@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      true, i've used kde for a long time but did not know what that option did.

      i always created the folder manually, moved the zip, and then used extract here.