LISTSERV mailing list manager LISTSERV 16.0

Help for LINUX-L Archives


LINUX-L Archives

LINUX-L Archives


LINUX-L@LISTS.UFL.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

LINUX-L Home

LINUX-L Home

LINUX-L  2007

LINUX-L 2007

Subject:

Re: Log backups

From:

"ODEN,MARK THOMAS" <[log in to unmask]>

Reply-To:

Platform Independent Linux List! <[log in to unmask]>

Date:

Tue, 14 Aug 2007 12:47:30 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (24 lines)

On Tue Aug 14 11:09:38 EDT 2007, Shawn McMahon <[log in to unmask]>
wrote:

> On Tue, 2007-08-14 at 10:08 -0400, Jon Lewis wrote:
>>
>> > find /ftp/traces -cmin +1440 -print | xargs rm -rf
>>
>> Adding -type f will probably solve it. That way, find will only
>> return files...not directories.
>>
>> find /ftp/traces -cmin +1440 -type f -print | xargs rm -rf
>
> And not strictly necessary, but to avoid errors causing xargs to
> do
> something wonky, I'd do:
>
> find /ftp/traces -cmin +1440 -type f -exec rm -rf {} \;
>
>

Thanks Shawn. Can you help me understand what "{} \;" does (how
to interpret it)?

~Mark Oden

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
1997

ATOM RSS1 RSS2



LISTS.UFL.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager