Tool: FindUnpacks v052008

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Tool: FindUnpacks v052008

Post by IceSoft »

Hello,
Here is one of my using tools:
'FindUnpacks', which will find all (ZIPs/RARs) which were unpacked.
You can also delete the unpacked folder and the packed file too.
Hope you find it useful.

Update v052008:
Screenshot:
Image

Download:
FindUnpacks.zip (v052008)


And here are the older version:
=================

Here the link (v0.3)
FindUnpacks.exe


Screenshot v0.2:
Image
Last edited by IceSoft on Sat May 24, 2008 2:02 pm, edited 5 times in total.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Post by Amundo »

Thank you very much, IceSoft, this is a very handy utility, as I tend to test stuff out and invariably forget to clean up after myself!!

Is there a possibility for checking to see if there is a difference between the files in the archive and what has been extracted? The majority of the time, I would just delete what's been unpacked, but there are times, especially when it's code, where a sourcefile gets changed. It would mean i would not inadvertently delete something that I might have customised for myself.

Thanks again! This will reclaim lots of used space on my drive.

P.S. Like a ding-dong, I didn't pay attention to what the selection actually read, and accidentally deleted the ZIP file I wanted to keep! Also, when I selected the folder to delete, it deleted the contents of the folder, but left the folder still there. And is the checkbox selection supposed to carry on down the tree-level (i.e. if I check "Unpacked <zip> files (1)", should the ZIP file and the folder underneath be checked as well)?
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Amundo wrote:Thank you very much, IceSoft, this is a very handy utility, as I tend to test stuff out and invariably forget to clean up after myself!!
That was the reason why I have written this tool.
And of course: I am a lazy unpacker.
Amundo wrote:Thanks again! This will reclaim lots of used space on my drive.
Same on my drives.
Amundo wrote:Is there a possibility for checking to see if there is a difference between the files in the archive and what has been extracted? The majority of the time, I would just delete what's been unpacked, but there are times, especially when it's code, where a sourcefile gets changed. It would mean i would not inadvertently delete something that I might have customised for myself.
Yes there is... but your wish is very special.
Amundo wrote: 1) Like a ding-dong, I didn't pay attention to what the selection actually read, and accidentally deleted the ZIP file I wanted to keep!
2) Also, when I selected the folder to delete, it deleted the contents of the folder, but left the folder still there.
3 )And is the checkbox selection supposed to carry on down the tree-level (i.e. if I check "Unpacked <zip> files (1)", should the ZIP file and the folder underneath be checked as well)?
First I have to say... It did't thought there is one people who like this utility too.

1) On the todo list [done... on v0.2]
2) Works correct here. Can you tell me the path?
3) On the todo list

New version (0.2) is uploaded.
'Ding-dong' is implemented...see screenshot (red text color for deleted stuffs)
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Post by Amundo »

... but your wish is very special.
I can appreciate that checking file date/time and/or CRC together with extra folder/file handling would be a pain in the bum.
And of course: I am a lazy unpacker.
Guilty
1) On the todo list [done... on v0.2]
Thank you
2) Works correct here. Can you tell me the path?
I'm not on the machine now, but it would have been something like "c:\!Download$\7zipcommandline". I tried to test on another machine using an ordinary folder name like "E:\A\avisplit.zip" (to rule out special characters in the foldername), but after extracting to "E:\A\avisplit", it didn't report this extracted file & folder???? Now I'm confused (my normal state).
3) On the todo list
Groovy!

Testing on same machine mentioned above, it has found "Prime95.zip" sitting in a folder called "g:\!download$\Prime95", but not extracted? It has matched based on archive filename to folder name, but is not checking folder contents? If folder contents need to be checked against archive (which would add considerably to the complexity and runtime of the program) then it would be very close to my "special wish" :)
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Ohhh yeah.

The search algo is very simple....
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

v0.2.1 uploaded.

[FIX]:
- it has found "Prime95.zip" sitting in a folder called "...\Prime95", but not extracted.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Post by Amundo »

Great, thanks IceSoft!

Would an option to open the folder on a double-click, be of any use? :P
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

v0.3 is uploaded
Same link.
Amundo wrote:Would an option to open the folder on a double-click, be of any use? :P
[ADD]
Press the right mouse for context menu
-> Currently for folders only (Open Explorer...)
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Post by Amundo »

BEAUTIFUL!

IceSoft, you da man! Thanks for adding all the stuff I mentioned.
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Update v052008:

For screenshot/download see first entry.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Post Reply