Is there a way to clone-install Cygwin?

Ulli Horlacher framstag@rus.uni-stuttgart.de
Fri Jan 31 10:25:00 GMT 2020


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.zip cygwin64

But in resulting cygwin64.zip the directories /cygdrive /proc /usr/bin and /usr/lib are
missing, because they are mount points.

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


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<16fc5b76c50.2780.a1382e26d1292f71ec6ef0cd03d49346@pdc.ca>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list