[CentOS] strange 'find' tool behavior

2012-11-19 Thread Gelen James
Hi all, Just encountered an strange bahavior of frequent 'find' command. I tried to use find to recursively remove .svn directories from my working place, 'find' command removed all the '.svn' directories successfully but reported errors on screen. Any one knows why it shows this behavior?

Re: [CentOS] strange 'find' tool behavior

2012-11-19 Thread Stephen Harris
On Mon, Nov 19, 2012 at 04:44:31PM -0800, Gelen James wrote: [root@centos_58_test_box workingDir]# find . -type d -name '.svn' -exec /bin/rm -rf '{}' \; find: ./.svn: No such file or directory [...] find is attempting to open the .svn directory to see if there are any subdirectories to work

Re: [CentOS] strange 'find' tool behavior

2012-11-19 Thread Gelen James
: Re: [CentOS] strange 'find' tool behavior On Mon, Nov 19, 2012 at 04:44:31PM -0800, Gelen James wrote: [root@centos_58_test_box workingDir]# find . -type d -name '.svn' -exec /bin/rm -rf '{}' \; find: ./.svn: No such file or directory [...] find is attempting to open the .svn directory to see