Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002401c3bd5d$e6eff6c0$580210ac@tcgp.dundee.ac.uk> Reply-To: From: To: Cc: "Max Bowsher" , References: <000701c3bce8$ce566970$0b7b2852 AT leper> <1070826534 DOT 1112 DOT 13 DOT camel AT localhost> <000f01c3bcfc$95df3680$78d96f83 AT starfruit> Subject: Re: Accident: deleted installed.db Date: Mon, 8 Dec 2003 07:35:19 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > cd /etc/setup > echo "INSTALLED.DB 2" > installed.db > ls *.lst.gz | sed -e 's/^\(.*\)\.lst\.gz$/\1 \1-0.tar.bz2 0/' >> installed.db Thank you. This worked and saved a lot of effort. Fergus -- 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/