Re: Multiple 7zip extract

2022-01-16 Thread Greg Wooledge
On Sun, Jan 16, 2022 at 02:48:00PM -0600, David Wright wrote: > You obviously meant something else by "Every extracted file must be in > the same directory" from the literal meaning that I employed. Yes, the wording is quite ambiguous. > "My problem is extracting 7z files … into their own

Re: Multiple 7zip extract

2022-01-16 Thread David Wright
On Sun 16 Jan 2022 at 20:44:12 (+0300), Gokan Atmaca wrote: > On Sun, Jan 16, 2022 at 8:02 PM David Wright wrote: > > On Sun 16 Jan 2022 at 18:59:49 (+0300), Gokan Atmaca wrote: > > > > > > I have hundreds of 7z compressed files in different folders. I want to > > > open them. Every extracted file

Re: Multiple 7zip extract

2022-01-16 Thread Gokan Atmaca
> Ok sorry, duh, you're already doing that :-) > So write a 5-line script: Loop thru the fully qualified filenames; take the > first part of each non-qualified filename using the shell's file matching > operators, make a directory with that name under some parent directory,, then > extract to

Re: Multiple 7zip extract

2022-01-16 Thread Andrei POPESCU
On Du, 16 ian 22, 20:44:12, Gokan Atmaca wrote: > Hello > > > $ cd destination-directory-for-extracted-files > > $ find top-directory-of-tree-containing-archive-files -type f -name \*7z > > -exec 7z e {} \; > > I'm already able to import into a single folder with the following. My > problem is

Re: Multiple 7zip extract

2022-01-16 Thread Nicholas Geovanis
On Sun, Jan 16, 2022, 12:33 PM Nicholas Geovanis wrote: > > On Sun, Jan 16, 2022, 11:44 AM Gokan Atmaca wrote: > >> Hello >> >> > $ cd destination-directory-for-extracted-files >> > $ find top-directory-of-tree-containing-archive-files -type f -name >> \*7z -exec 7z e {} \; >> >> I'm already

Re: Multiple 7zip extract

2022-01-16 Thread Nicholas Geovanis
On Sun, Jan 16, 2022, 11:44 AM Gokan Atmaca wrote: > Hello > > > $ cd destination-directory-for-extracted-files > > $ find top-directory-of-tree-containing-archive-files -type f -name \*7z > -exec 7z e {} \; > > I'm already able to import into a single folder with the following. My > problem is

Re: Multiple 7zip extract

2022-01-16 Thread Gokan Atmaca
Hello > $ cd destination-directory-for-extracted-files > $ find top-directory-of-tree-containing-archive-files -type f -name \*7z > -exec 7z e {} \; I'm already able to import into a single folder with the following. My problem is extracting 7z files, which are in thousands of folders with a

Re: Multiple 7zip extract

2022-01-16 Thread David Wright
On Sun 16 Jan 2022 at 18:59:49 (+0300), Gokan Atmaca wrote: > > I have hundreds of 7z compressed files in different folders. I want to > open them. Every extracted file must be in the same directory. How can > we do this? $ cd destination-directory-for-extracted-files $ find

Re: Multiple 7zip extract

2022-01-16 Thread Andrei POPESCU
On Du, 16 ian 22, 18:59:49, Gokan Atmaca wrote: > Hello > > I have hundreds of 7z compressed files in different folders. I want to > open them. Every extracted file must be in the same directory. How can > we do this? If I understand your question correctly `find` with the `-execdir` action

Multiple 7zip extract

2022-01-16 Thread Gokan Atmaca
Hello I have hundreds of 7z compressed files in different folders. I want to open them. Every extracted file must be in the same directory. How can we do this? Thanks. -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄