Comments (4)
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.
from unrarall.
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
from unrarall.
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:
- this doesnt work:
$bash unrarall -v /path
- but this does?
$./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.
from unrarall.
Closed as no update from user.
from unrarall.
Related Issues (20)
- Corrupt File or wrong password Error HOT 2
- unrarall cleans files if subs rar has extracted cleanly HOT 6
- FR: Move subtitle files to main dir HOT 2
- Mac sed, the special snowflake... HOT 3
- Clobbering files on extraction and skipping already extracted files HOT 1
- extraction fails if source folder name has spaces HOT 5
- wishlist HOT 1
- provide example usage in readme.md HOT 2
- [BASH 3] Relative path gives error message about UNRARALL_OUTPUT_DIR not being a directory HOT 4
- Egrep style regular expressions break finding rar files in certain cases. HOT 1
- Valid rar file invalid mime type HOT 2
- .r00 files not found HOT 1
- Does not obey --skip-if-exists. HOT 2
- Feature request: Option to rename output file to parent directory HOT 1
- Allow 7zip to extract .ISO Files
- Only 1 working HOT 1
- Extracting files into a path named after the file
- Get error at unrar
- Unnrar from subfolders and rename extracted file to parent folder name HOT 1
- .zip support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unrarall.