Giter Club home page Giter Club logo

Comments (4)

arfoll avatar arfoll commented on July 18, 2024

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.

hrvstr avatar hrvstr commented on July 18, 2024

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.

arfoll avatar arfoll commented on July 18, 2024

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.

arfoll avatar arfoll commented on July 18, 2024

Closed as no update from user.

from unrarall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.