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 directory
because the application deleted the file while
du was processing. How can I tell it to ignore such errors?