Re: sleep patterns...

2005-07-05 Thread imEnsion
ah you guys are awesome. thank you for the link.

Re: sleep patterns...

2005-07-05 Thread Frank Denis \(Jedi/Sector One\)
On Tue, Jul 05, 2005 at 02:22:13PM +0100, Stuart Henderson wrote: > Dragonfly have 'rm -I' (ask for confirmation if deleting >3 files or > -r) which works very well. Used routinely (e.g. in an alias in login > shells), I think it gives better protection than 'rm -i' since the > prompt is rare en

Re: sleep patterns...

2005-07-05 Thread Stuart Henderson
--On 05 July 2005 08:11 -0500, imEnsion wrote: hahaha. in one of my sleep deprived moments a couple years ago.. i was messing with kernel compiles and such, when i mistakenly did... rm -rf /etc instead of rm -rf etc one reason to keep softdep turned off on / ;-) Dragonfly have 'rm -I' (ask fo

Re: sleep patterns...

2005-07-05 Thread imEnsion
hahaha. in one of my sleep deprived moments a couple years ago.. i was messing with kernel compiles and such, when i mistakenly did... rm -rf /etc instead of rm -rf etc of course i immediately realized this and hit ctrl + c needless to say, the box was unimportant (THANK GOD) and this was back wh

Re: sleep patterns...

2005-07-04 Thread viq
On Monday 04 of July 2005 21:25, Todd C. Miller wrote: > In message <[EMAIL PROTECTED]> > > so spake unixadmin99 (unixadmin99): > > Accidently emptied half the contents of src.tar.gz into /usr/bin while > > undergoing an install under the intoxication of sleep. > > Be glad you didn't do this

Re: sleep patterns...

2005-07-04 Thread Todd C. Miller
In message <[EMAIL PROTECTED]> so spake unixadmin99 (unixadmin99): > Accidently emptied half the contents of src.tar.gz into /usr/bin while > undergoing an install under the intoxication of sleep. Be glad you didn't do this in /usr (as I have done). Things get downright unhappy when /usr

Re: sleep patterns...

2005-07-04 Thread unixadmin99
On 7/4/05, John Wright <[EMAIL PROTECTED]> wrote: > On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote: > > Oops! > > Accidently emptied half the contents of src.tar.gz into /usr/bin while > > undergoing an install under the intoxication of sleep. > > What's the most efficient way of recti

Re: sleep patterns...

2005-07-04 Thread John Wright
On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote: > Oops! > Accidently emptied half the contents of src.tar.gz into /usr/bin while > undergoing an install under the intoxication of sleep. > What's the most efficient way of rectifying this? src.tar.gz is mostly directories and /usr/bin s

Re: sleep patterns...

2005-07-04 Thread Otto Moerbeek
On Mon, 4 Jul 2005, Thanos Tsouanas wrote: > On Mon, Jul 04, 2005 at 10:22:13AM +0200, Otto Moerbeek wrote: > > > > On Mon, 4 Jul 2005, Thanos Tsouanas wrote: > > > > > tar tvfz src.tar.gz | xargs rm -f > > > > But might throw away some files that belong in /usr/bin > > Hmmm.. how is that?

Re: sleep patterns...

2005-07-04 Thread Ted Unangst
On Mon, 4 Jul 2005, Thanos Tsouanas wrote: > On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote: > > Oops! > > Accidently emptied half the contents of src.tar.gz into /usr/bin while > > undergoing an install under the intoxication of sleep. > > What's the most efficient way of rectifying

Re: sleep patterns...

2005-07-04 Thread Thanos Tsouanas
On Mon, Jul 04, 2005 at 10:22:13AM +0200, Otto Moerbeek wrote: > > On Mon, 4 Jul 2005, Thanos Tsouanas wrote: > > > tar tvfz src.tar.gz | xargs rm -f > > But might throw away some files that belong in /usr/bin Hmmm.. how is that? I mean, /usr/bin has no further directories, while everythin

Re: sleep patterns...

2005-07-04 Thread Otto Moerbeek
On Mon, 4 Jul 2005, Thanos Tsouanas wrote: > On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote: > > Oops! > > Accidently emptied half the contents of src.tar.gz into /usr/bin while > > undergoing an install under the intoxication of sleep. > > What's the most efficient way of rectifying

Re: sleep patterns...

2005-07-04 Thread Thanos Tsouanas
On Mon, Jul 04, 2005 at 11:07:21AM +0300, Thanos Tsouanas wrote: > Something like.. > > tar tvfz src.tar.gz | xargs rm -f > > should work... Sorry, I forgot to mention a cd /usr/bin before that. -- Thanos Tsouanas .: Sians http://thanos.sians.org/ .: http://www.sians.org/

Re: sleep patterns...

2005-07-04 Thread Thanos Tsouanas
On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote: > Oops! > Accidently emptied half the contents of src.tar.gz into /usr/bin while > undergoing an install under the intoxication of sleep. > What's the most efficient way of rectifying this? Something like.. tar tvfz src.tar.gz | xargs r

sleep patterns...

2005-07-04 Thread unixadmin99
Oops! Accidently emptied half the contents of src.tar.gz into /usr/bin while undergoing an install under the intoxication of sleep. What's the most efficient way of rectifying this? -- ~michael