delorie.com/archives/browse.cgi | search |
--------------080705000801090904060101 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi! > Charles Wilson wrote: > >> A few notes: >> ... >> rsync can't merge. > > Yes, but Michael A. Chases clean_setup.pl can! I allowed myself to add a > new option to clean_setup.pl, it exports the list of missing files to a > file. Then you can use wget to get all the missing files. > > I attached the modified clean_setup.pl plus a shell scrip to get the > missing files from a mirror. You have to modify the getmissing.sh to > choose your mirror and your target download directory. The directory and > both files must exist the same directory as your setup.exe. Just a quick > hack, I guarantee nothing! Use the attached getmissing.sh instead, some options for wget were not correct, they left directory listing files. Bye Volker --------------080705000801090904060101 Content-Type: text/plain; name="getmissing.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="getmissing.sh" #!/bin/bash # Mirror script for cygwin # Uses Michael A. Chase "cleanup_setup.pl" # in a modified version (V1.0303) # and wget # getmissing.sh and cleanup_setup.pl must reside in the same directory # as setup.exe # Files to download filelist="missing.lst" # Choose your mirror with directory of setup.ini #mirror="ftp://ftp.inf.tu-dresden.de/software/windows/cygwin32/" # Cut directories 1 2 3 mirror="ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/" # Cut directories 1 2 3 cutdir=3 # Name your download directory mirrordir="_mymirror" wget -r -N --no-host-directories --cut-dirs=$cutdir --passive-ftp -P $mirrordir ${mirror}setup.ini ./clean_setup.pl -writelist wget -r -N --no-host-directories --cut-dirs=$cutdir --passive-ftp -P $mirrordir -i $filelist -B $mirror ./clean_setup.pl -Arch -Setup --------------080705000801090904060101 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------080705000801090904060101--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |