Use the Matrixify app to easily download all files from Shopify Files (Shopify Admin -> Settings -> Files) section to your computer.
Shopify does not offer this option natively so let’s look into how you can now do this with the Matrixify app.
Steps in short to download Shopify Files
- Export Shopify Files using the Matrixify app.
- In a new column, add a formula
="curl "&[Link]&" -o "&[File Name].
- Create an executable file with terminal commands and run that file.
1. Exporting Shopify Files data
First, we need to get all the existing Shopify File links and their file names.
Create a new export in the Matrixify App.
Select the “Matrixify: Excel” export format, and select to export “Files“.
Open the “Advanced” tab in the “Files” section and using the “Add | Remove” button select to only export the columns
File Name and
You do not need to select any other checkboxes or change any of the export options. The default ones will work just fine here.
Your Shopify Files export should look like this:
Once the export is set up, click on the “Export” button at the bottom or top of the export page to start your export.
You can read our “How it works” page if you wish to learn more about setting up your Shopify exports with Matrixify.
2. Construct curl command from Shopify File links
Once the export is finished you can download the file.
As only two columns were selected to export, that is what you should also see in the exported file.
Now in the third column in your file, add this formula in the second row:
- on Windows
="curl "&B2&" -o "&A2
- on MacOS
="curl '"&B2&"' -o "&A2
Drag/copy that formula for all other rows in your file.
So now your file should look like this:
3. Create file with terminal commands and run it
In your computer open folder where you would like to download images.
In this folder create a new text file and in it copy the curl command lines:
Go File -> Save As and save the file as
Images.bat. The file name is not important, but make sure that it ends with
Then double-click on the file to run it. It should automatically open the terminal and start downloading files into that folder.
Create new file
Images.sh in the folder you wish to download your images. Here is page showing simple way of creating such sh file.
In the file make sure that first row is
Then paste all the created curl command lines from the Excel file, so the file contents would look like this:
#!/usr/bin/env bash curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a3.png?v=1663582363' -o a3.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a4.png?v=1663582363' -o a4.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a9.png?v=1663582368' -o a9.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a10.png?v=1663582369' -o a10.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a11.png?v=1663582370' -o a11.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a12.png?v=1663582371' -o a12.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a13.png?v=1663582372' -o a13.png curl 'https://cdn.shopify.com/s/files/1/0044/6218/2467/files/a14.png?v=1663582372' -o a14.png
Save the file.
Open terminal/command prompt in your computer – click the Launchpad icon, type
Terminal in the search field, then click
Once you have the Terminal/Command Prompt open, it will be in the home directory on your computer.
cd command, navigate to the folder where you saved the
Then in the terminal run command –
chmod +x images.sh
And after that run command to run your file and download images from it –
Congratulations! You have downloaded all Shopify Files from your store into your computer.