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
unrar
instead ofunrar-free
solved my problem. – Eray Nov 11 '11 at 16:20