Is there a way to clone-install Cygwin?

Ulli Horlacher
Fri Jan 31 11:29:00 GMT 2020

On Fri 2020-01-31 (11:24), Ulli Horlacher wrote:

> On Mon 2020-01-20 (19:28), Brent Epp wrote:
> > Cygwin is totally portable! You can simply copy the installation folder to 
> > another PC, copy the shortcut (edit target if needed) and it will work. 
> How do you copy it?
> Which archive container do you use?
> I have tried it with:
> /: cat zip.bat
> cd C:\
> \7z\7za a -tzip -xr!cygwin64/home/* -xr!cygwin64/var/log/* tmp\ cygwin64
> But in resulting the directories /cygdrive /proc /usr/bin and /usr/lib are
> missing, because they are mount points.

I have now extracted this on a second Windows host using the
Windows bsdtar
I have started a mintty with bash:

The missing mountpoint directories were created automagically :-)

> Next problem is: the file permissions will not be restored.

And all symbolic links have been extracted as regular files :-(

Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail:
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list