andy@7:~/Downloads$ sudo find / -name *.png >> png_files.txt
[sudo] password for andy:
find: ‘/run/user/1000/gvfs’: Permission denied
This answer explains that error: https://unix.stackexchange.com/a/77592
Thanks.
sudo find / -xdev -name *.png >> png_files.txt yielded 186K of pngs.