I'm trying to get the size of a folder an application is currently writing to. If I run the du command it sometimes fails with the error:du: cannot access `/a/b/a.txt': No such file or directorybecause the application deleted the file while du was processing. How can I tell it to ignore such errors?
du -- ignore file not found errors
disk usage