I found a strange (buggy) behaviour in 7za 4.10b while
compressing files read from an external list (obviously it
happens specifying files on the command line, too).
Following list (with relative paths) works fine:
py\PYCRON\_pycron\$.c
vc\thunk16\ORD\$.c
The same with absolute paths doesn't work, instead
(7za says: "Error: Duplicate filename: $.c $.c"):
C:\USR\$src\py\PYCRON\_pycron\$.c
C:\USR\$src\vc\thunk16\ORD\$.c
Perhaps it compares file names only, instead of relative
pathnames?
Moreover, how does it work when relative pathnames
are equal? Does it overwrite (update) elements with the
same relative path belonging to different drives; or store
drive name in some way?
And, finally, can you add a switch to strip a prefix from
the disk pathname before creating the archive
pathname, like MS CABARC -P does (so I could "archive"
CABARC itself...)?
C:\USR\$src\vc\thunk16\ORD\$.c \(disk\)
|
\|/
\+
-stripC:\USR\$src\
|
\|/
\+
vc\thunk16\ORD\$.c \(archive\)
Logged In: YES
user_id=65083
Yes, now 7-zip removes all dir prefixes for absolute paths.
I know that now it needs some strip switch. I'll think about it.