Re: Recovering compile after loss of power

2004-07-06 Thread Geert Hendrickx
On Tue, Jul 06, 2004 at 01:51:17PM -0400, Trey Sizemore wrote:
> On Tue, 6 Jul 2004 11:46:14 -0500, "Dan Nelson"
> <[EMAIL PROTECTED]> 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recovering compile after loss of power

2004-07-06 Thread Trey Sizemore
On Tue, 6 Jul 2004 11:46:14 -0500, "Dan Nelson"
<[EMAIL PROTECTED]> 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
> 
> -- 
>   Dan Nelson
>   [EMAIL PROTECTED]

As an aside, what would I append to the command to likewise remove them
(I assume using some variation of the 'rm' command)?

Thanks.
-- 
  Trey Sizemore
  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recovering compile after loss of power

2004-07-06 Thread Dan Nelson
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

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recovering compile after loss of power

2004-07-06 Thread Dan Nelson
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.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"