Sample Header Ad - 728x90

how to total clean the folders from /var/spool/abrt/

1 vote
1 answer
1621 views
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 '{}' \; ?
Asked by yael (13936 rep)
Nov 18, 2021, 09:33 AM
Last activity: Nov 18, 2021, 09:59 AM