how can i (extract with paths)..

You want to talk about Far Manager, but don't know where to turn?
Locked
mrQQ
Posts: 18
Joined: Tue May 24, 2005 8:51 am

how can i (extract with paths)..

Post by mrQQ » Mon Dec 26, 2005 9:04 pm

Hello,

often i find myself having this problem:

let's say archive has this structure

dir1\
dir2\
dir1\dir3
dir1\dir4
...

now i go into archive, and then into dir1. i see there dir3 and dir4. now I need to extract those two directories with subcontents.. so i press f5 and they get extracted into passive panel, BUT, they get put into dir1 there (that is dir1 is created - the whole structure is restored). i know this is probably limitation on how paths are handled by multi-arc, but is there a way to overcome this?

thanks!

User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex » Tue Dec 27, 2005 11:02 pm

It's a limitation of the external archivers that MA uses - but if you use RAR archives then MA can be set up to do what you need.

mrQQ
Posts: 18
Joined: Tue May 24, 2005 8:51 am

Post by mrQQ » Wed Dec 28, 2005 6:22 am

how?

and is there no hope for zip? perhaps some other zip variant than pkzip25 that i'm currently using? (7zip?)

User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex » Wed Dec 28, 2005 3:19 pm

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Far\Plugins\MultiArc\RAR]
"Extract"="rar x {-p%%P} {-ap%%R} -y -kb -- %%A @%%LNM"
"ExtractWithoutPath"="rar e -av- {-p%%P} -y -c- -kb -- %%A @%%LNM"
"Test"="rar t -y {-p%%P} -- %%a @%%LNM"
"Delete"="rar d -y {-w%%W} -- %%A @%%LNM"
"Comment"="rar c -y {-w%%W} -- %%A"
"CommentFiles"="rar cf -y {-w%%W} -- %%A @%%LNM"
"SFX"="rar s -y -- %%A"
"Lock"="rar k -y -- %%A"
"Protect"="rar rr -y -- %%A"
"Recover"="rar r -y -- %%A"
"Add"="rar a -y {-p%%P} {-ap%%R} {-w%%W} %%S -- %%A @%%LN"
"Move"="rar m -y {-p%%P} {-ap%%R} {-w%%W} %%S -- %%A @%%LN"
"AddRecurse"="rar a -r0 -y {-p%%P} {-ap%%R} {-w%%W} %%S -- %%A @%%LN"
"MoveRecurse"="rar m -r0 -y {-p%%P} {-ap%%R} {-w%%W} %%S -- %%A @%%LN"
"AllFilesMask"="*.*"
"DefExt"="rar"

as far as I know only RAR got this option.

Locked