On 1/31/22 19:34, admin4 wrote:
> # DANGER! THIS DELETES ALL (!!!) FILES IN THE CURRENT DIRECTORY! (NOT ONLY
> THE -name “*FILES*” SPECIFIED )
> find . -delete -name "*f25020672.avi*" <- why does it do that? it is like it
> completely ignores anything after -delete X-D (and just deletes everythin
Hello,
updating the manpage sounds good, but maybe find also needs an
update/patch, as it (imho) does not work correctly (with the find .
-delete) as intended?
# warning! this can ruin one's day
mkdir temp
cd temp
touch 1 2 3 f25020672.avi
# only finds that file
find . -name "*f25020672.avi