Linux unrar program
#16
(No offense intended, but just to be sure...)
You didn't run
Code:
xbmc@xbmc-desktop:~$ python unrar_tree.py /path/to/Elements/movies_5
exactly, did you?

by '/path/to/xbmc_movies_directory' you should replace with the actual path to your movies directory.

Something like '/media/media_drive/xbmc_movies'
It will be different on your system.
Reply
#17
Could you make this a graphical python add on? Its handy for noob users who own a mediacenter where they download to but dont want to ssh into the box to unrar stuff (or cannot)...
Reply
#18
create a file called something like autorar.sh and paste this into it:

Code:
#!/bin/sh
if cd "$1"
then
for directory in $(find . -type d)
do (cd $directory
for file in *.rar
do if unrar e -y -p- -kb -or $file
then rm -f *.r??
else echo "NOPE: Unrar failed, not deleting anything"
fi
done)
done
fi

then run
Code:
chmod 777 autorar.sh
and
Code:
sudo mv autorar.sh /usr/local/bin


then when you want to extract something, go to the dir you want to extract things from like /my/rared/movies and run
Code:
autorar.sh .


or you can just login and run autorar and point to the dir like so:
Code:
autorar.sh /my/rared/movies

-gob

Image
Reply
#19
Try "autounrar" it has even PW support. But it needs java installed.
http://sourceforge.net/projects/auto-unrar/
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply

Logout Mark Read Team Forum Stats Members Help
Linux unrar program1