How to find the largest file in vault?

I use the official sync service, which has a maximum limit for single file size. I want to know whether any of my files exceed this limit. Are there any plugins that can help me find the largest file in my vault?

What searches did you try in the plugin store?

I suspect there is a plugin for this, but if not you may be able to do it in your operating system’s file browser (perhaps by searching the path of your vault and then sorting the results by file size) or a built-in disk space utility. If not, there are apps that can do it (I’ve only used one on Linux and don’t remember its name).

1 Like

When using the Dataview plugin, the following query would show the 10 largest files in your vault:

LIST file.size
SORT file.size desc
1 Like