delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/30/04:04:44

X-Spam-Check-By: sourceware.org
Message-ID: <5116344.post@talk.nabble.com>
Date: Fri, 30 Jun 2006 01:04:29 -0700 (PDT)
From: prz <Guy DOT Przytula AT riziv DOT fgov DOT be>
To: cygwin AT cygwin DOT com
Subject: find missing parameter
MIME-Version: 1.0
X-Nabble-Sender: Guy DOT Przytula AT riziv DOT fgov DOT be
X-Nabble-From: prz <Guy DOT Przytula AT riziv DOT fgov DOT be>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have a small problem with find command
whenever I specify the -exec option this error is displayed

/cygdrive/c/workdir: find  . -name "db*" -mtime +2 -type f -exec /bin/rm {}
find: missing argument to `-exec'

tried quotes - single double ... with/without path to rm or any other
command (ls)
removing the exec returns the correct file
Best Regards, Guy Przytula
-- 
View this message in context: http://www.nabble.com/find-missing-parameter-tf1871842.html#a5116344
Sent from the Cygwin Users forum at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019