Re: [SLUG] deltree equivalent OK

2001-02-22 Thread Jeff Waugh



> Nah - not if you do it right. (can you trigger that with a cron job that 
> destroys itself ?)

Yeah Jon, do it like this:

jon@xena:~$ crontab -e

No one will *ever* suspect that *you* did it.

:) - Jeff


-- [EMAIL PROTECTED] --- http://linux.conf.au/ --

Ye shall be cursed to fall in love so easily, and yet be so cold of 
   heart as never to express it.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent OK

2001-02-22 Thread Jon Biddell

On Thursday 22 February 2001 12:12, Howard Lowndes wrote:
> More like:
>
> find new job
> cd /
> rm -rf *
> get even newer job breaking rocks for 10 years

Nah - not if you do it right. (can you trigger that with a cron job that 
destroys itself ?)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] deltree equivalent

2001-02-21 Thread Simon Bryan

Hi,
Is there an equivalent in Linux to the DOS deltree, that will remove 
folders, files and .files without confirmation? Such a fun command on a 
Windows system, generally goes like:
cd /
deltree *
Oh S***T!




Simon Bryan

IT Manager
OLMC Parramatta
http://www.olmc.nsw.edu.au



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent

2001-02-21 Thread DaZZa

On Thu, 22 Feb 2001, Simon Bryan wrote:

> Is there an equivalent in Linux to the DOS deltree, that will remove 
> folders, files and .files without confirmation? Such a fun command on a 
> Windows system, generally goes like:
> cd /
> deltree *
> Oh S***T!

Warning - use the following command at your own risk. I am not responsible
if you completely fsck your system doing so.

cd /
rm -rf *
Oh S**T!

Actually, this most likely won't blow away your entire system - but it
will almost irrepairably damage it. It'll delete every file until you hit
the rm executable - and once it deletes that, the process will stop - but
by then, your system will be hosed.

You can, of course, use this in other directories than the root of your
system tree.

DaZZa


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent

2001-02-21 Thread Paul Haddon

On Thu, Feb 22, 2001 at 08:28:52AM +1100, Simon Bryan wrote:

> Is there an equivalent in Linux to the DOS deltree, that will remove 
> folders, files and .files without confirmation? Such a fun command on a 
> Windows system, generally goes like:
> cd /
> deltree *
> Oh S***T!


rm -rf whatever

eg: rm -rf /my_directory

Do it to / and watch your system expire ;)

Paul Haddon
Technical Services Manager
Hartingdale Internet


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent

2001-02-21 Thread Umar Goldeli

Yep, equivalent is:

cd /
rm -rf *
Oh S***T!


//umar.


> Hi,
> Is there an equivalent in Linux to the DOS deltree, that will remove 
> folders, files and .files without confirmation? Such a fun command on a 
> Windows system, generally goes like:
> cd /
> deltree *
> Oh S***T!


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent OK

2001-02-21 Thread Simon Bryan

Thanks everyone got that! Now let me see,
cd /
rm -rf *
find new job :-)

Actually had a friend that on his first day in tech support, did do a 
deltree in the root directory of the bosses computer! Fortunately they did 
have data backups. I think he did it at about 2pm and went home about 3am 
and was back at work looking like nothing had happened at 8am the next day. 
Since this was a fresh install of everything, the system actually ran 
better, no fragmented files etc. The boss, unaware of the process, thanked 
him for 'tuning up' his system.

At 08:28 22/02/2001, you wrote:
>Hi,
>Is there an equivalent in Linux to the DOS deltree, that will remove 
>folders, files and .files without confirmation? Such a fun command on a 
>Windows system, generally goes like:
>cd /
>deltree *
>Oh S***T!
>
>
>
>
>Simon Bryan
>
>IT Manager
>OLMC Parramatta
>http://www.olmc.nsw.edu.au
>
>
>
>--
>SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
>More Info: http://slug.org.au/lists/listinfo/slug



Simon Bryan

IT Manager
OLMC Parramatta
http://www.olmc.nsw.edu.au



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent OK

2001-02-21 Thread Alan Lee

We are a shop front, and have technical guys.

We have had technical guys format systems, totaly kill customers hardware
etc.  They always seem to be part timers who do is..

Ive been in this company almost 2 years, and have never really had a need to
format a customers HDD, unless it was totaly wasted, and I had no choice!
And the customer knows what will happen etc.  I always do a backup anyways,
copy all the working files to another HDD and then format.  I will then put
the data back in a temp folder for the customer, So they can get back
pictrues, data etc that they require.  This seems to please most customers.

Regards, Alan Lee

- Original Message -
From: "Simon Bryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 9:40 AM
Subject: Re: [SLUG] deltree equivalent OK


> Thanks everyone got that! Now let me see,
> cd /
> rm -rf *
> find new job :-)
>
> Actually had a friend that on his first day in tech support, did do a
> deltree in the root directory of the bosses computer! Fortunately they did
> have data backups. I think he did it at about 2pm and went home about 3am
> and was back at work looking like nothing had happened at 8am the next
day.
> Since this was a fresh install of everything, the system actually ran
> better, no fragmented files etc. The boss, unaware of the process, thanked
> him for 'tuning up' his system.
>
> At 08:28 22/02/2001, you wrote:
> >Hi,
> >Is there an equivalent in Linux to the DOS deltree, that will remove
> >folders, files and .files without confirmation? Such a fun command on a
> >Windows system, generally goes like:
> >cd /
> >deltree *
> >Oh S***T!
> >
> >
> >
> >
> >Simon Bryan
> >
> >IT Manager
> >OLMC Parramatta
> >http://www.olmc.nsw.edu.au
> >
> >
> >
> >--
> >SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> >More Info: http://slug.org.au/lists/listinfo/slug
>
>
>
> Simon Bryan
> 
> IT Manager
> OLMC Parramatta
> http://www.olmc.nsw.edu.au
> 
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
>


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



RE: [SLUG] deltree equivalent

2001-02-21 Thread Marty Richards

"deltree -y c:\*.* > nul"  is a real joy in Windoze ;) It gets doubly
entertaining when you use ANSI to remotely reprogram their keyboard
assignments... map enter to this little beauty and they're completely
hosed... not so difficult to do when one runs an ANSI based BBS ;)  I
haven't tried it for years - maybe it doesn't work on the newer versions of
Doze?

rm -rf * is what you're looking for.

Cheers,
Marty



On Thursday, February 22, 2001 8:29 AM, Simon Bryan
[SMTP:[EMAIL PROTECTED]] wrote:
> Hi,
> Is there an equivalent in Linux to the DOS deltree, that will remove 
> folders, files and .files without confirmation? Such a fun command on a 
> Windows system, generally goes like:
> cd /
> deltree *
> Oh S***T!
> 
> 
> 
> 
> Simon Bryan
> 
> IT Manager
> OLMC Parramatta
> http://www.olmc.nsw.edu.au
> 
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



RE: [SLUG] deltree equivalent

2001-02-21 Thread DaZZa

On Thu, 22 Feb 2001, Marty Richards wrote:

> "deltree -y c:\*.* > nul"  is a real joy in Windoze ;) It gets doubly
> entertaining when you use ANSI to remotely reprogram their keyboard
> assignments... map enter to this little beauty and they're completely
> hosed... not so difficult to do when one runs an ANSI based BBS ;)  I
> haven't tried it for years - maybe it doesn't work on the newer versions of
> Doze?

Doesn't work on the replacement versions of ansi.sys any clued up sysop
ran either. :-)

DaZZa - long standing Sysop of a BBS which has never been ANSI hacked.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent

2001-02-21 Thread John Clarke

On Thu, Feb 22, 2001 at 08:44:32AM +1100, DaZZa wrote:

> It'll delete every file until you hit the rm executable - and once it 
> deletes that, the process will stop

Oh no it won't.  `rm' will happily delete itself and keep going.


Cheers,

John
-- 
whois [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent OK

2001-02-21 Thread Peter Worboys

Actually its other way around

find new job
cd /
rm -rf *



On Thu, 22 Feb 2001, Simon Bryan wrote:

> Thanks everyone got that! Now let me see,
> cd /
> rm -rf *
> find new job :-)
> 
> Actually had a friend that on his first day in tech support, did do a 
> deltree in the root directory of the bosses computer! Fortunately they did 
> have data backups. I think he did it at about 2pm and went home about 3am 
> and was back at work looking like nothing had happened at 8am the next day. 
> Since this was a fresh install of everything, the system actually ran 
> better, no fragmented files etc. The boss, unaware of the process, thanked 
> him for 'tuning up' his system.
> 
> At 08:28 22/02/2001, you wrote:
> >Hi,
> >Is there an equivalent in Linux to the DOS deltree, that will remove 
> >folders, files and .files without confirmation? Such a fun command on a 
> >Windows system, generally goes like:
> >cd /
> >deltree *
> >Oh S***T!
> >
> >
> >
> >
> >Simon Bryan
> >
> >IT Manager
> >OLMC Parramatta
> >http://www.olmc.nsw.edu.au
> >
> >
> >
> >--
> >SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> >More Info: http://slug.org.au/lists/listinfo/slug
> 
> 
> 
> Simon Bryan
> 
> IT Manager
> OLMC Parramatta
> http://www.olmc.nsw.edu.au
> 
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
> 


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] deltree equivalent OK

2001-02-21 Thread Howard Lowndes

More like:

find new job
cd /
rm -rf *
get even newer job breaking rocks for 10 years

-- 
Howard.

LANNet Computing Associates 
   "...well, it worked before _you_ touched it!"

On Thu, 22 Feb 2001, Peter Worboys wrote:

> Actually its other way around
>
> find new job
> cd /
> rm -rf *
k


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug