we want to delete all abrt folders from /var/spool/abrt/
before we just run the following , to see how many folders we have
find /var/spool/abrt/ -type d
/var/spool/abrt/
/var/spool/abrt/ccpp-2019-09-10-08:05:21-1652
now we runs this to clean the abrt folders
find /var/spool/abrt/ -type d -exec abrt-cli rm '{}' \;
'/var/spool/abrt' is not a problem directory
Can't delete '/var/spool/abrt/': (null)
rm '/var/spool/abrt/ccpp-2019-09-10-08:05:21-1652'
find: ‘/var/spool/abrt/ccpp-2019-09-10-08:05:21-1652’: No such file or directory
and simple verification
find /var/spool/abrt/ -type d
/var/spool/abrt/
note - no folders
but as we can see from command find /var/spool/abrt/ -type d -exec abrt-cli rm '{}' \; output we get also
'/var/spool/abrt' is not a problem directory
find: ‘/var/spool/abrt/ccpp-2019-09-10-08:05:21-1652’: No such file or directory
just want to be sure if I have something wrong with - find /var/spool/abrt/ -type d -exec abrt-cli rm '{}' \; ?