Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3564  / 1 Year ago, mon, november 28, 2022, 1:55:44

I'm trying to unrar a file (i have unrar-free package) .
But it's failed, i think because of files name. File's (which in rar archive) name containing spaces and i can't rename it.



How can i unrar this file?



Note : spaces isn't in archives name, it's in archived file's name. For example : this file should be unrared.flv file in test.rar



eray@eray-ubuntu:~/İndirilenler$ unrar terranovas01e06.rar

unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


Extracting from /home/eray/İndirilenler/terranovas01e06.rar

Extracting Terra Nova - 01x06 - Bylaw.LOL.srt Failed
1 Failed
eray@eray-ubuntu:~/İndirilenler$

More From » archive

 Answers
7

Unrar-free seems to have a problem with these files. It creates a directory instead of a file when you try to extract the archive.



$ unrar-free --list test.rar

unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


RAR archive /home/.../test.rar

Pathname/Comment
Size Packed Ratio Date Time Attr CRC Meth Ver
-------------------------------------------------------------------------------
this file should be unrared.flv
0 8 0% 10-11-11 18:09 .D.... 00000000 m3? 2.9
-------------------------------------------------------------------------------
1 0 8 inf%


Now:



$ unrar-free --extract test.rar 

unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


Extracting from /home/.../test.rar

All OK


Finally:



$ ls -l
total 4
-rw-rw-r-- 1 ...... ...... 100 2011-11-10 18:12 test.rar
drwxrwxr-x 2 ...... ...... 6 2011-11-10 18:27 this file should be unrared.flv


Please note the d at the first column of the filename.



To extract the file correctly you can use the unrar package instead of unrar-free.



$ unrar x test.rar 

UNRAR 4.00 beta 3 freeware Copyright (c) 1993-2010 Alexander Roshal


Extracting from test.rar

Extracting this file should be unrared.flv OK
All OK

$ ls -l
total 4
-rw-rw-r-- 1 ...... ...... 100 2011-11-10 18:12 test.rar
-rw-rw-r-- 1 ...... ...... 0 2011-11-10 18:09 this file should be unrared.flv

[#42164] Tuesday, November 29, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zzlingots

Total Points: 414
Total Questions: 130
Total Answers: 117

Location: Sudan
Member since Tue, Sep 15, 2020
4 Years ago
;