From owner-freebsd-questions Sat Mar 16 19:15:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from serv1.wallnet.com (server1.wallnet.com [208.225.162.122]) by hub.freebsd.org (Postfix) with ESMTP id 31CA437B404 for ; Sat, 16 Mar 2002 19:15:25 -0800 (PST) Received: from localhost (timothyk@localhost) by serv1.wallnet.com (8.11.5/8.11.5) with ESMTP id g2H3FKB49368; Sat, 16 Mar 2002 22:15:21 -0500 (EST) (envelope-from timothyk@serv1.wallnet.com) Date: Sat, 16 Mar 2002 22:15:20 -0500 (EST) From: Tim Kellers To: Roman Neuhauser Cc: "Kellers, Timothy" , "'questions@freebsd.org'" , "'kellers@njit.edu'" Subject: Re: desktop.eml and sample.eml In-Reply-To: <20020316143909.GV68827@roman.mobil.cz> Message-ID: <20020316221004.J49217-100000@serv1.wallnet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" > > To: "'questions@freebsd.org'" > > Cc: "'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