Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 23:37:56 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        Trey Sizemore <trey@fastmail.fm>
Cc:        FreeBSD Questions Mailing List <questions@freebsd.org>
Subject:   Re: Recovering compile after loss of power
Message-ID:  <20040706213756.GA24722@lori.mine.nu>
In-Reply-To: <1089136277.5723.199834758@webmail.messagingengine.com>
References:  <1089131980.18744.199829372@webmail.messagingengine.com> <20040706164407.GA59386@dan.emsphone.com> <20040706164614.GB59386@dan.emsphone.com> <1089136277.5723.199834758@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 06, 2004 at 01:51:17PM -0400, Trey Sizemore wrote:
> On Tue, 6 Jul 2004 11:46:14 -0500, "Dan Nelson"
> <dnelson@allantgroup.com> said:
> > In the last episode (Jul 06), Dan Nelson said:
> > > In the last episode (Jul 06), Trey Sizemore said:
> > > > I was many hours into a kde3 complilation/installation when the
> > > > power went out at the house.  :-(.  Is the best option here to just
> > > > restart the 'make install clean' in the directory again?  Will it
> > > > 'pick up where it left off'?
> > > 
> > > Yes, although check for and remove 0-byte *.o files first (find . -name
> > > -"*.o" size 0).  I have occasionally seen them after a crash.
> > 
> > Typo.  That command should be:  find . -name "*.o" -size 0
> 
> As an aside, what would I append to the command to likewise remove them
> (I assume using some variation of the 'rm' command)?
> 
> Thanks.

add this to the find command: -exec rm -f {} \;

Check out man find for details.  

GH



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040706213756.GA24722>