Delete, edit, and organize
Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.
Because of a problem I had with data transfer a while back, I now have hundreds of empty files in Dropbox. When I tried to find and delete them all in Terminal, I can't because of a lack of permission. How can I find and delete all empty files in my Dropbox account?
Hi @esmewang, thanks for bringing this to our attention.
Are the files visible on the Dropbox site or the Dropbox folder?
Is the Dropbox desktop application currently installed an running on your machine?
This will help me to assist further!
Thanks for the info. Are you able to delete the empty files from the Dropbox site directly?
Yes, I can delete them one by one. The problem is that I have hundreds of these, and I can only find out if a file has zero bytes by clicking on it, which is why I was trying to do it in Terminal.
Hey @esmewang, sorry to jump in here!
The safest way to go on about it would be either through the app, or through the website. As for the terminal, what kind of error do you get on your end when you try?
Hi @esmewang, you could also try to sort your files by Size.
That way you'll be able to locate all your 0kb files faster, and then delete them.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!