Extract all archives in rar
I'm trying to extract multiple. Rar which is in a folder using the command
Code:
"rar x *.rar" Code:
[mario]$ rar x *.rar |
Looks like a bug in the rar command line parser. I think the first thing that I would do is type
Code:
rar -? |
Quote:
http://forums.gentoo.org/viewtopic-t...wildcards.html I always use a for loop on those cases, something like Code:
for file in *.rar; do unrar x "$file"; done |
Why would you expect different behavior? 'rar' is behaving as documented in the manual.
You can do: for X in $(ls *.rar); do rar x $X; done |
Quote:
I can tell you for sure that the wildcard expansion is done at shell level, *before* rar or unrar gets into scene, so that shouldn't be a problem. Also, I don't want to sound pedant, but I would change your for loop a bit. ls is completely unnecesary, and you should *always* quote filenames unless you are really certain that they will contain no blank spaces or the like. Code:
for X in *.rar; do rar x "$X"; done |
It must be some permission of SSH same as those servers use a "shared" must be with something missing, but interesting this business loop, vai and help now.
Very Thanks! |
All times are GMT -5. The time now is 10:27 AM. |