[Mingw-users] Extract tar in windows ?

Back to archive index

Eli Zaretskii eliz****@gnu*****
Wed Apr 18 18:40:47 JST 2018


> From: Ran Shalit <ransh****@gmail*****>
> Date: Wed, 18 Apr 2018 12:36:14 +0300
> Cc: MinGW Users List <mingw****@lists*****>
> 
> > For each such symlink, copy the original into the destination.  That's
> > a bit of a hassle to do manually, if there are a lot of those (there
> > are more than 70 in this tarball), but you could produce a script for
> > doing that by editing the output of "bsdtar -tvf": find lines that say
> > "foo -> bar", then edit them into something like "xcopy bar foo".
> > Then run the script.

Actually, since the files use forward slashes, it is better to use
'cp', not 'xcopy' (assuming you have the ported Coreutils installed).

> I am just wandering if this is the simplest way to do it.  I mean,
> probably I'm not the first to extract  Mingw linaro toolchain in
> windows.

Symlinks in archives are a problem on Windows, but maybe someone else
here will have a better solution.  Cygwin might be one such solution.




More information about the MinGW-Users mailing list
Back to archive index