Closed hrvstr closed 10 years ago
Hi,
That's weird, so lets try making unrarall executable first with "chmod +x unrarall" and then just use ./unrarall The hashbang will sort out what to do better, just in case XBMCbuntu do something crazy and alias/symlink bash to dash.
Can you give me the output to the following (sorry there's so much but hopefully we can work out what's going on with this info): $ bash --version $ unrar --version | head -2 $ ls -lah /path/to/rar/files/ $ find "/path/to/rar/files/" -iregex '.*.(rar|001)$' $ file --mime /path/to/rar/files/a_random_rar_file.rar
FYI you do not need cksfv nor 7zip, 7zip will be used if unrar is not present and cksfv will simply not be used if not present.
ok, executed "chmod +x unrarall" again. i should have mentioned that i am doing this on a NTFS-formatted drive mounted in XBMCbuntu.
when i use "./unrarall /path/to/folder/" the extractions works as expected:
output:
hrvstr@XBMC:~/unrarall$ ./unrarall /path/to/folder/
Working over directory "/path/to/folder/
Extracting (e) "/path/to/folder/file.rar"...ok
1 rar files found and extracted
hrvstr@XBMC:~/unrarall$ bash --version
GNU bash, version 4.2.37(1)-release (i686-pc-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
hrvstr@XBMC:~/unrarall$
hrvstr@XBMC:~$ unrar --version | head -2
UNRAR 4.10 freeware Copyright (c) 1993-2012 Alexander Roshal
hrvstr@XBMC:~$ ls -lah /path/to/rar/files/
total 6.0M
drwxrwxrwx 1 root root 32K Sep 17 23:57 .
drwxrwxrwx 1 root root 24K Sep 16 13:27 ..
-rwxrwxrwx 1 root root 3.0M Sep 10 2006 file.mp3
-rwxrwxrwx 2 root root 13K Jun 13 17:58 .DS_Store
drwxrwxrwx 1 root root 4.0K Jul 27 10:49 extracted
drwxrwxrwx 1 root root 744 Sep 17 23:51 incomplete
-rwxrwxrwx 1 root root 50K Jul 26 12:00 Thumbs.db
drwxrwxrwx 1 root root 4.0K Sep 17 23:14 unrar
-rwxrwxrwx 1 root root 3.0M Sep 17 23:56 file.rar
find "/path/to/rar/files/" -iregex '.*.(rar|001)$'
NO OUTPUT!
hrvstr@XBMC:~$ file --mime /path/to/rar/files/a_random_rar_file.rar
/path/to/rar/files/a_random_rar_file.rar: application/x-rar; charset=binary
That find command got parsed wrong i don't know how you're supposed to send them in these silly comment boxes. It should be like this http://dpaste.com/1385207/
The rest looks good tbh.
So I don't understand. You're saying that:
bash unrarall -v /path
./unrarall -v /path
Can you give the full output of both and show pwd
?
That should do exactly the same thing... /usr/bin/env bash
should return either /bin/bash
or /usr/bin/bash
which should be bash according to your --version ouput. Can you take a look at what /usr/bin/env bash --version
is giving you?
I'm don't think NTFS would make a difference as long as you have write permission as user which it looks like you do.
Closed as no update from user.
i think i set it up correctly: i've done the chmod, installed: unrar,7zip and cksfv
when i run this command:
i only get this:
although there are severeal rar files in the folder.
would anybody be kind enough to help?