From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Dolphin and extracting archives, .zip at the moment.
Date: Tue, 14 Jan 2025 07:06:16 -0600 [thread overview]
Message-ID: <c259ccf6-23c7-0ddb-b87a-27e46c3be42d@gmail.com> (raw)
In-Reply-To: <3264165.5fSG56mABF@rogueboard>
Michael wrote:
> On Monday 13 January 2025 14:17:41 Greenwich Mean Time Dale wrote:
>>
> 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 seems to work like the old way. I guess the default changed but it
didn't make sense given how it used to work.
>> 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 may have to play with that some more. Sometimes, I have to see it to
figure out what it is doing.
>> 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
>>
>> :-) :-)
I figured if there was a command line way, it would require sed, awk,
find and other things I don't understand. It didn't take me long to
figure out the command line way was harder than trying to figure out the
GUI way.
Thanks much.
Dale
:-) :-)
next prev parent reply other threads:[~2025-01-14 13:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 3:03 [gentoo-user] Dolphin and extracting archives, .zip at the moment Dale
2025-01-13 3:56 ` eric
2025-01-13 4:47 ` Dale
2025-01-13 9:10 ` Michael
2025-01-13 14:17 ` Dale
2025-01-13 18:37 ` Michael
2025-01-14 13:06 ` Dale [this message]
2025-01-14 15:46 ` Frank Steinmetzger
2025-01-17 7:01 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c259ccf6-23c7-0ddb-b87a-27e46c3be42d@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox