This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Yep. It's in /etc/setup/installed.db. Here's a shell script to generate a dos batch file to remove all your cygwin files.
#!/bin/bash cut -f1 -d' ' < /etc/setup/installed.db | grep -v INSTALLED.DB \ | xargs cygcheck -l | xargs cygpath -w | sed -e 's/^/del /g' \remove-all-cyg-files.bat
This doesn't take care of the left-over directories. Running the list through dirname sort uniq xargs cygpath and sed 's/^/rd /g'another-batch-file.bat is left as an exercise for the reader.
#!/bin/bash cut -f1 -d' ' < /etc/setup/installed.db | grep -v INSTALLED.DB | \ xargs --delim='\n' cygcheck -l | xargs --delim='\n' cygpath -w | \ sed -e 's/\(.*\)/del "\1"/g' | sort -u > remove-all-cyg-files.bat
Regards, Vin Shelton
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |