Recovering compile after loss of power

Geert Hendrickx geert.hendrickx at ua.ac.be
Tue Jul 6 14:38:17 PDT 2004


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 at 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


More information about the freebsd-questions mailing list