Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 16:15:57 -0500
From:      Brian Reichert <reichert@numachi.com>
To:        freebsd-hackers@freebsd.org
Subject:   find, -delete, and relative paths
Message-ID:  <20001120161557.R11172@numachi.com>

next in thread | raw e-mail | index | archive | help
I didn't find anything after an admittedly quick look intp PRs and the mail
list archives:

Under FreeBSD 3.4-RELEASE, we are running a simple log file scrubber:

  15 3 * * * find /usr/local/logs/lsp \! -ctime 1 -delete

I pointedly am using an absolute path, yes I get this warning repeatedly:

  find: -delete: /usr/local/logs/lsp: relative path potentially not safe

How can I suppress this warning?  Is it a bug in find, or did I
misunderstand the manpage?

-- 
Brian 'you Bastard' Reichert		<reichert@numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			Intel architecture: the left-hand path


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




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