www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/12/03:35:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Fri, 12 Jun 2015 10:35:13 +0300
From: "Eli Zaretskii (eliz AT gnu DOT org)" <djgpp AT delorie DOT com>
Subject: Re: DJGGP 2.05 upgrade problems.
In-reply-to: <5579ED42.6070309@gmail.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <837fr9s7ke.fsf@gnu.org>
References: <201506091712 DOT t59HCPci004068 AT delorie DOT com> <557739E0 DOT 6070608 AT gmail DOT com> <CAB9Rao93XrKFBpUDnZdjCz+rEXHGOU2RNKdou2oMLJOk802LnA AT mail DOT gmail DOT com> <55775E64 DOT 2090901 AT gmail DOT com> <CAB9Rao-Njdr-CB=vqHnb+TVDmXu3eXqsB5CHB7V0kDwBEsM-WQ AT mail DOT gmail DOT com> <5579ED42 DOT 6070309 AT gmail DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 11 Jun 2015 16:19:14 -0400
> From: "Frank Sapone (emoaddict15 AT gmail DOT com)" <djgpp AT delorie DOT com>
> 
> I also noticed find doesn't work 
> properly to delete all the previous *.o files.  Whatever previous 
> version of find I was using for 2.03 works fine.
> The way we were using it before is "find ./ -name '*.o' -exec rm {} \;".
> Now it spits out:
> rm : cannot remove './client/cl_cin.o' : No such file or directory (ENOENT).

Are you sure it's a problem with 'find', not with 'rm'?  Does the
following command work from the shell prompt?

  rm ./client/cl_cin.o

Also, does 'find' work without the "exec ..." part, or with a command
other than 'rm'?

(Btw, you can use -delete instead of invoking 'rm', but that's a
separate issue.)

- Raw text -


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