pnpx github:davidwarrington/shopify-image-downloader --out=./downloads --cdn=https://cdn.shopify.com/...
# or using npm
npx github:davidwarrington/shopify-image-downloader --out=./downloads --cdn=https://cdn.shopify.com/...
Required if input is a directory.
Default Value: undefined
This path will be prepended to all Shopify image URLs in order to download them. To get the CDN path visit your live store, open an image in a new tab and copy everything before the filename in the URL.
Default Value: .
If value resolves to a directory, the script will search for images referenced inside Shopify data files (settings/**/*.json
and templates/**/*.json
). Otherwise a plaintext file is assumed, where each line contains the full URL of an image on the CDN.
Default Value: .
The directory images will be downloaded to.