[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find acting weird
From: |
Юрий Пухальский |
Subject: |
find acting weird |
Date: |
Wed, 26 May 2010 13:42:53 +0400 |
Good day!
I'm trying to remove the directories with find -exec and i've
encountered that for some reason the behaviour is strange. I've tested
with 4.1.20, 4.2.27 and 4.4.2.
I'm doing the following:
devfe:~>mkdir -p findtest/a/b
devfe:~>cd findtest/
devfe:~/findtest>find . -name a -exec rm -rf {} \;
find: ./a: No such file or directory
devfe:~/findtest>ls
devfe:~/findtest>
--
«The good thing about standards is there are so many to choose from.»