Extractor - Extract, cleanup and delete archives

Discuss and share scripts and script files...
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

But when you do it for multiple archives and click "no" in the prompt, the files are separated somehow in the data sent to xyplorer and instead of deleting the files, xyplorer shows a weird menu-popup with the input data drawn as text
Screenshot together with the info which files are selected?
Anyone know the "right" way to get rid of the GUI?
Extractor_v0.9.9.zip
(446.95 KiB) Downloaded 273 times
Add a line to your Extractor.ini file in the [General] section:
DeleteNoGUI=1

...
One of my scripts helped you out? Please donate via Paypal

acicovic
Posts: 42
Joined: 31 Oct 2017 19:52

Re: Extractor - Extract, cleanup and delete archives

Post by acicovic »

Hello there!

Does this still work, or is anybody using another solution that they would like to suggest?

The main reason I would like to use this is the "smart extract" feature which extracts everything in the parent folder directly when there is a single folder in the archive.

Thanks! :biggrin:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

I use it daily so the answer is probably: yes

Although I'm in the process to rewrite it completely (in a different language) to make the code more readable and manageable (which doesn't affect the version(s) you get here atm)...
One of my scripts helped you out? Please donate via Paypal

acicovic
Posts: 42
Joined: 31 Oct 2017 19:52

Re: Extractor - Extract, cleanup and delete archives

Post by acicovic »

Thanks for the feedback.

acicovic
Posts: 42
Joined: 31 Oct 2017 19:52

Re: Extractor - Extract, cleanup and delete archives

Post by acicovic »

Hello,

The latest version 0.9.9 doesn't contain the ini file. I guess I can use the ini file from a previous version?

Thanks!

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

Yeah, just use the one from 0.9.8 (first post in this thread).

The new version will write out an initial .ini file if none is found...
One of my scripts helped you out? Please donate via Paypal

yogi
Posts: 100
Joined: 18 Feb 2010 09:05

Re: Extractor - Extract, cleanup and delete archives

Post by yogi »

its possible to extract the archive with many extention , only one extension??? with 7zip???
in the .ini???

thanks master high

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

What?
One of my scripts helped you out? Please donate via Paypal

yogi
Posts: 100
Joined: 18 Feb 2010 09:05

Re: Extractor - Extract, cleanup and delete archives

Post by yogi »

ok sorry i wrote very late......
is it possible with 7zip and this script to extract only one extension from the .zip archive??
for example me, in the extension, there is a pdf file and several txt and jpg files, I only want the pdf.
thank you master!

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

Sure. Read the .chm file for 7-Zip (command = x) and add the necessary part to ExtractArgs2= in the .ini
One of my scripts helped you out? Please donate via Paypal

yogi
Posts: 100
Joined: 18 Feb 2010 09:05

Re: Extractor - Extract, cleanup and delete archives

Post by yogi »

ExtractArgs2=7z x archive.zip -oO:\_Symenu\ProgramFiles\SPSSuite\_Import\_Cache *.exe -r

I slip the zip file on it, it doesn't work, here is the line I write;
I shouldn't be far though.
this tells me about multiple instances for switch...


but my files zip is not with this name archive.zip; its the problem???

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

Wtf?

ExtractArgs2=-aoa *.pdf *sigh*
One of my scripts helped you out? Please donate via Paypal

yogi
Posts: 100
Joined: 18 Feb 2010 09:05

Re: Extractor - Extract, cleanup and delete archives

Post by yogi »

I am really a big dung!= And if I want to extract the pdf without the folder being made I delete what?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

That's not possible atm (and I currently don't have time to add this)
One of my scripts helped you out? Please donate via Paypal

lian00
Posts: 354
Joined: 09 Jul 2014 17:12

Re: Extractor - Extract, cleanup and delete archives

Post by lian00 »

Thanks a lot for the script. If I knew, I would have installed since years. :tup:
Windows 10 64 bits

Post Reply