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.zip > cygwin64 > > But in resulting cygwin64.zip the directories /cygdrive /proc /usr/bin and > /usr/lib are > missing, because they are mount points.
I have now extracted this cygwin64.zip 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: horlac...@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20200131102434.gb5...@tik.uni-stuttgart.de> -- 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