Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 22:15:20 -0500 (EST)
From:      Tim Kellers <timothyk@serv1.wallnet.com>
To:        Roman Neuhauser <neuhauser@mobil.cz>
Cc:        "Kellers, Timothy" <kellers@ADM.NJIT.EDU>, "'questions@freebsd.org'" <questions@FreeBSD.ORG>, "'kellers@njit.edu'" <kellers@njit.edu>
Subject:   Re: desktop.eml and sample.eml
Message-ID:  <20020316221004.J49217-100000@serv1.wallnet.com>
In-Reply-To: <20020316143909.GV68827@roman.mobil.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

Using find, is this command safe?

find / -name "sample.eml" -delete

I've read (and re-read) the man page for find and I'm still a bit skittish
about the -delete function.  And while I have used find often before, I've
never used the -delete argument.  When I tried it earlier this evening on
my home computer, I wiped out my home directory.  (I figured out my
boneheaded syntax after that one).

I can't afford to wipe out the school's server, though, so any suggestions
(or different approaches) to deleting these miserable virus droppings.

Thanks,

Tim Kellers
CPE/NJIT

On Sat, 16 Mar 2002, Roman Neuhauser wrote:

> > From: "Kellers, Timothy" <kellers@ADM.NJIT.EDU>
> > To: "'questions@freebsd.org'" <questions@freebsd.org>
> > Cc: "'kellers@njit.edu'" <kellers@njit.edu>
> > Subject: desktop.eml and sample.eml
> > Date: Fri, 15 Mar 2002 23:47:51 -0500
> >
> > -- Please forgive me if this shows up twice, but my ISP's e-mail server is
> > having connectivity problems --
> >
> >
> > One of my servers at work (FreeBSD 4.5-Stable) is riddled with the
> > desktop.eml and sample.eml files.  There are thousands of those files in
>
>     snip
>
> > I have built uvscan from ports and, though it is a "demo" program, we
> > have a site license to run Network Associates NetShield and Virus Scan
> > on all the University's workstations and servers --the license even
> > covers FreeBSD, though Network Associates doesn't have a non-demo
> > product for FreeBSD.  Does anyone know if the .dat files as downloaded
> > to a Win2k client will work with the uvscan in ports?
>
>     no idea about this question. but why don't you ask the NA guys?
>
> > Secondly, if I save the output of:
> >
> > # locate desktop.eml
> >
> > into a file, is there a reasonably non-hazardous way of deleting all the
> > filenames contained within the file?
>
>     define non-hazardous. I would definitely prefer using find(1)
>     directly: locate(1) database is built once a week.
>
> --
> FreeBSD 4.4-STABLE
> 3:31PM up 16 days, 16:38, 17 users, load averages: 0.12, 0.11, 0.08
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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