Managing multi-part RAR files

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Managing multi-part RAR files Wed Jun 10, 2009 1:26 pm • by knidsrok
As anybody come up with a good script or set of rules to help Hazel unarchive multi-part RAR archives, and then move the components to the trash?

The short shell script I got from does a good job w/ single-part RAR files, but with rar archives broken into multiple files, it attempts to run the script on all of the component parts, resulting in a number of error messages, and, since the shell script fails, it never gets to the "move to trash" action.

Thus, my downloads folder is left with all of the part2, part3, etc rars, which sit there and kick up error messages every time Hazel runs. Is there a way to get Hazel to move these files to the trash, but only if part 1 was successfully unpacked?
knidsrok
 
Posts: 1
Joined: Sun Apr 19, 2009 2:19 pm

Re: Managing multi-part RAR files Thu Jun 11, 2009 12:01 pm • by a_freyer
I'd try opening them with UnRarX or something similar and scripting that.
a_freyer
 
Posts: 631
Joined: Tue Sep 30, 2008 9:21 am
Location: Colorado

Re: Managing multi-part RAR files Sat Jun 13, 2009 2:49 pm • by Mr_Noodle
Right now, Hazel is not particularly good at dealing with dependencies between files.

Also, in the latest beta (check the beta forums), I did add support for unrar to the "Unarchive" action but it won't handle the multipart case which is something I'll look into.
Mr_Noodle
Site Admin
 
Posts: 11230
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support