paintba||er
11-04-2007, 10:38 PM
Hello, I'm a complete n00b at Linux, I used Windoze my whole life until a little over a year ago when I purchased a Mac mini thinking that it would just be a toy that would never replace my Windows PC. Well, when I received it and turned it on I realized how bad Windows really was. Ever since then I've been kinda an Apple fanboy, but I've always had an interest for Linux, and have used it off and on. I've since almost completely fazed out Windows and only use it at school, when helping somebody that is having problems with it, or occasionally when I need to run a Windows only app. I now use Mac as my primary OS and Linux as my secondary. I use Mac when I need everything to just work so I can get stuff done quickly and easily, and Linux when I want to have fun screwing around with stuff and learning new things.
Anyway, now that I've said all that irrelevant stuff I can get onto the problem. I've been playing Frets On Fire (a Guitar Hero clone) and decided to download some more songs for it. So I go download a few torrents (I of course own legal copies of all the songs :rolleyes: ) and they are all RARed. No problem, I can just use unrar. But one of the torrents has each song in its own RAR archive, and there are 210 of them. It would be far too tedious to unrar each one individually. I try to recursively extract it so everything in the folder is extracted. But then I come upon the problem that each of them have files with the same name. So I need to have a folder named the same as each of the RAR archives that all of the data from each RAR archive should be extracted to. I'm not sure how to do this except manually making each folder and extracting them one by one, but I don't have time for that. I know that it could be done through a shell script, but like I said, I'm a Linux n00b, so I have no experience with writing shell scripts, and I don't think something like this would be a good place to start. :/
Anyway, now that I've said all that irrelevant stuff I can get onto the problem. I've been playing Frets On Fire (a Guitar Hero clone) and decided to download some more songs for it. So I go download a few torrents (I of course own legal copies of all the songs :rolleyes: ) and they are all RARed. No problem, I can just use unrar. But one of the torrents has each song in its own RAR archive, and there are 210 of them. It would be far too tedious to unrar each one individually. I try to recursively extract it so everything in the folder is extracted. But then I come upon the problem that each of them have files with the same name. So I need to have a folder named the same as each of the RAR archives that all of the data from each RAR archive should be extracted to. I'm not sure how to do this except manually making each folder and extracting them one by one, but I don't have time for that. I know that it could be done through a shell script, but like I said, I'm a Linux n00b, so I have no experience with writing shell scripts, and I don't think something like this would be a good place to start. :/