update: added -p option, which will treat files listed in [prev] section of setup.ini as old.
now, run ./cleanOldPackages_UTF8.sh -p -d will clean files listed in [prev] sectoin. download it from nabble.com: http://old.nabble.com/file/p26594254/cleanOldPackages_UTF8.sh cleanOldPackages_UTF8.sh LiuYan 刘研 wrote: > > After I viewed setup.ini, I decide to write a little script to do this. > Currently, it scans all the sub-directory of cygwin local package > directory, and delete all the old files which not listed in setup.ini or > setup-2.ini. > -- View this message in context: http://old.nabble.com/Cygwin-setup.exe%3A-Clean-historical-setup-packages-tp26569064p26594254.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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