On Monday 13 January 2025 14:17:41 Greenwich Mean Time Dale wrote:
> Michael wrote:
> > On Monday 13 January 2025 04:47:39 Greenwich Mean Time Dale wrote:
> >> eric wrote:
> >>> On 1/12/25 20:03, Dale wrote:
> >>>> Howdy,
> >>>> 
> >>>> I think I ran into this on my old rig too.  After some upgrade, I lost
> >>>> the option in the right click menu.  I have this issue on the new rig
> >>>> and can't find anything to install that makes it work again.  I
> >>>> sometimes download archives.  Right now, I have a lot of .zip files.
> >>>> I'd like to be able to right click and chose extract here or extract to
> >>>> sub-directory.  I looked in Settings and Context for Dolphin and
> >>>> installed everything I could find for archives but still nothing.  I
> >>>> also looked to see what all was installed with emerge for this feature.
> >>>> It looks like I have them all installed.  This is the list of installed
> >>>> packages on the system.
> >>>> 
> >>>> 
> >>>> root@Gentoo-1 / # equery list *zip*
> >>>> 
> >>>>   * Searching for *zip* ...
> >>>> 
> >>>> [IP-] [  ] app-alternatives/bzip2-1:0
> >>>> [IP-] [  ] app-alternatives/gzip-1:0
> >>>> [IP-] [  ] app-arch/7zip-24.09:0
> >>>> [IP-] [  ] app-arch/bzip2-1.0.8-r5:0/1
> >>>> [IP-] [  ] app-arch/gzip-1.13-r1:0
> >>>> [IP-] [  ] app-arch/p7zip-17.05-r1:0
> >>>> [IP-] [  ] app-arch/unzip-6.0_p27-r1:0
> >>>> [IP-] [  ] app-arch/zip-3.0-r7:0
> >>>> [IP-] [  ] dev-libs/libzip-1.11.2-r1:0/5
> >>>> [IP-] [  ] virtual/perl-Compress-Raw-Bzip2-2.212.0:0
> >>>> root@Gentoo-1 / #
> >>>> 
> >>>> 
> >>>> 
> >>>> In Dolphin, I've enabled and installed everything I can find related to
> >>>> any archive.  They are also all checked to enable.  Still, the right
> >>>> click menu no longer shows the option to extract .zip or other types
> >>>> I've ran into in the past.
> >>>> 
> >>>> What is the proper tool to install for this?  What am I missing?  I
> >>>> find
> >>>> it hard to believe that this is no longer a option given the vast
> >>>> majority of people do this sort of thing in a GUI nowadays.  I have to
> >>>> be missing something.
> >>>> 
> >>>> Thanks.
> >>>> 
> >>>> Dale
> >>>> 
> >>>> :-)  :-)
> >>> 
> >>> Hi Dale,
> >>> 
> >>> Do you have "Ark" installed? I think that is the archive tool plasma
> >>> uses by default. In a post on stack exchange installing Ark worked for
> >>> one person to give dolphin the right click option to extract archives.
> >>> 
> >>> https://stackoverflow.com/questions/69849444/extract-here-context-menu-i
> >>> te
> >>> m-for-dolphin-file-manager
> >>> 
> >>> 
> >>> Eric
> >> 
> >> That seems to be the thing I was missing.  I was running out of hair
> >> over here.  LOL  Once I installed that, the option appeared.  I didn't
> >> even have to restart Dolphin.  I did notice there is no option to
> >> extract to a sub-directory tho.  May have to look into that some more.
> >> May be a option or something.
> >> 
> >> Thanks much.
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > Ark is brought in by kde-apps/kdeutils-meta as a dependency.  Have you not
> > installed kde-apps/kdeutils-meta?
> 
> I hadn't but I have now.  While I got the option back, it isn't working
> like it used too.  The way I used to do it, I select extract to sub
> directory.

It does this by default when you select to 'Extract here'.  For example, the 
archive foo.zip will be extracted into a new directory called foo/ and all 
compressed files in foo.zip will be extracted into foo/.

If you do this a second time, it will create a new directory foo(1)/ and 
extract the compressed files in there so as to not overwrite the previously 
extracted files in foo/.


> That comes in handy when you have lots of .zip or .tar files
> to extract.  What it does is create a new directory with the same name,
> less the extension, as the original .zip or .tar file and then puts the
> extracted files inside that directory.  It repeats for every .zip file. 
> On this new thing, I selected Extract to and in the next window I
> selected Extraction into subfolder.  Thing is, if I have more than one
> .zip file, it puts ALL the contents of ALL .zip files into ONE
> directory, overwriting/renaming etc duplicates.  That's not what I
> want.  I did a search, I found someone else with the same complaint.  I
> didn't find a proper way to accomplish the same thing it used to do tho.

You can type in what you want to call the new subdirectory (options shown in 
top right of the pop up) so as to not overwrite existing subdirectories/files.

> I tried to figure out how to do this on the command line but my head
> hurts.  Banging that wall isn't any fun. 

I don't think a single command can achieve this.  Unzip will ask if you want 
to overwrite files already extracted in a previous attempt and it will create 
a directory to store the extracted files if one does not exist, but it will 
not ask to rename an existing directory.


> Anyone been able to figure out how to do this?  I got a few hundred .zip
> files and doing them one by one just isn't a good option. 
> 
> Dale
> 
> :-)  :-) 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to