User(s) browsing this thread: 1 Guest(s)
|
Par'n'Rar?
|
|
11-30-2010, 07:46 AM
(This post was last modified: 11-30-2010 08:20 AM by dc11ab.)
|
|||
|
|||
|
Par'n'Rar?
So, I'm new here after just recently finding out about CSI and installed some apps on my A110. I loved it before and now it's wonderful! I let it manage all my torrent downloads using Transmission. However, some stuff is rar'd (few is par'd). I've searched the forums, found some scripts, tried making my own, etc, but I'm wondering if there is a par'n'rar app yet?
If not, that's too bad. So, then maybe someone can help with my current script. Right now it extracts all the rar files (no par'ing yet), and then deletes all the rar files if everything extracted ok. So far so good, but I already have a couple problems: 1) How do I get the base directory given a file. 'basename' gives me just the file name, what gives just the path? 2) Apart from telnet'ing in a launcing a shell script, how can I launch the script from a browser as a cgi script? What all is needed? For those interested, here is my unrar script (below). It's uber simple because, frankly, my scripting skills suck. It finds all .rar file (even multi-part files should have at least a .rar file but not guaranteed). it unrars outputing to a tmp file, then later if checks the tmpfile if the unrar was ok, and then uses the tmpfile to get the list of all rar files to delete. Code: #!/bin/sh |
|||
|
11-30-2010, 08:26 AM
|
|||
|
|||
|
RE: Par'n'Rar?
(Moderation: edited out a surplus [ / code ] tag.)
I think user Lordy has made some PAR/RAR scripts, apart from the functionality found in Oversight? dirname : http://ss64.com/bash/dirname.html Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
12-01-2010, 04:55 AM
|
|||
|
|||
RE: Par'n'Rar?
(11-30-2010 08:26 AM)dc11ab Wrote: (Moderation: edited out a surplus [ / code ] tag.) Thanks. There were a few bugs getting Oversight's fabulous unpak.sh script to work because of some permission issue which I was able to fix. I can probably reuse it somehow for anything in a download directory. |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
[7. June 2013] Youporn available now




![[+]](images/collapse_collapsed.gif)

