Serious brokeness of treating .lnk files as symlinks

Jonadab the Unsightly One jonadab@bright.net
Sat May 26 20:32:00 GMT 2001


Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru> regarding RE: Serious brokeness of treating .lnk files as s:

[tar does not treat .lnk files as such]
# I am afraid there is no solution without breaking compatibility. On Unix
# symlink does not have any "contents" except the file name it points to. So,
# tar saves just this filename. This allows tar archive to be moved to any
# other compliant system. If you tar your files on Cygwin and restore them on
# Unix you get identical filesystem structure including symlinks.

If the problem is with the tar format, then you can solve it
by using some other archival system -- for example, pkzip --
for moving files from one Windows system to another or within
one Windows system.  What tar does is IIUC right for moving
files to a Unix system.  

Is there a way to get tar to treat .lnk files as regular
files (rather than as symlinks) with a commandline option?
That would also solve the problem, I think.  


-- jonadab

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list