Exporting Images from the Settings > Files Library

unfortunately, this is only for the current page. of course you may use the limit=250 in the URL but if you have more than 250 files, you have to use the pagination and rerun the code for every page. quite a pain if you have a lot of pages.