Automated .r00 extracting bash script
Well, i red through out all the posts i possibly could finf, searched google etc, and I still can't find a solution to my painfull porblem :)
Heres the noobish script : Code:
#!/bin/bash
P.S Im a newbie in BASH'ing so your help will make me feel all fuzzy and warm inside :) And dont ask Why i need it... i just do, im sick and tired of many buggy r00's and that i cant extract them properly with PEAZIP or similar apps. P.P.S Sorry for the bad english, and some code samples would be nice :) Greetings from Latvia. |
I'm really not quite sure what you're trying to do exactly... use unrar. There was some issues a few years back of it not working but last I tried it worked with multipart archives flawlessly as long as you specify the first file in the archive.
(Edit: I would test it myself... but I don't have a multipart archive handy... also keep in mind its usually about as easy as for i in `ls filename.r??`; do cat $i >> filename.rar; done and then unrar filename.rar even if it doesn't do multiparts) |
Correct! Have used it recently and
Code:
unrar e rarfilename.rar Kind regards, Eric |
Well, the idea is to enter the Directory where the multipart rar's are, and the then BASH does all of the dirty work...
and i think Code:
unrar e filename.rar Code:
rar e filename.rar |
Quote:
And YES i know how painfully it gets when people do not read or learn for them self, but im just asking arround, maybe someone has the time to help out... |
Hi,
I think you have some errors in your script when it comes with the variables. Code:
#!/bin/bash Code:
#!/bin/bash Eric |
Quote:
|
The full code for a bash script that cat them into one file would be more or a less the for loop i posted plus "&& unrar e filename"
|
Quote:
|
Okay i finally made it :)
It has a clan-up feature too :) Code:
#!/bin/bash |
All times are GMT -5. The time now is 01:41 AM. |