How many assets do I have? #8391
Closed
stephenmeehanuk
started this conversation in
General
Replies: 1 comment 1 reply
-
I don't know if there's a way of doing this within the Control Panel but you can do it by running a query in Run this for every asset container you need to check: \Statamic\Facades\Asset::query()->where('container', 'assets')->count(); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to see how many assets a website has?
Initially I'd like to simply check my local/staging/production sites all have the same number of assets in
/public/assets/
I exclude
/public/assets/
from git, however I have recently started using the excellent Laravel Sync by Michael Aerni.It'd be a useful peace of mind check.
It'd be handy to group assets by type (.jpg, .pdf etc)
Beta Was this translation helpful? Give feedback.
All reactions