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]
. - Open your Terminal or Command Prompt, go to the needed directory, and paste all the curl lines from your 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 Link
.
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. Paste the curl lines in your Terminal/Command Prompt
Now that you have the curl lines set up.
Open terminal/command prompt in your computer:
- on Windows – press
Windows
+R
, typecmd
and pressEnter
/OK
. - on MacOS – click the Launchpad icon, type
Terminal
in the search field, then clickTerminal
.
Once you have the Terminal/Command Prompt open, it will be in the home directory on your computer.
Using cd
command, navigate to the folder where you wish to save the Shopify Files.
I can see that my home directory is C:\Users\renyr
Using cd
command, navigate to the Downloads folder by writing the relative path from your home directory:
To go to your Downloads directory, type cd Downloads
Once you are in the downloads directory, open your Excel file and copy all the rows from the column with curl command lines.
Paste the lines in your Terminal/Command Prompt and the files will start downloading as soon as you have pasted them.
Do not close the Terminal/Command Prompt until you see that the last image has finished downloading.
Congratulations! You have downloaded all Shopify Files from your store into your computer.
Good to know!
- If you have questions or issues along the way – do not hesitate to reach out to Matrixify support!
- Read our Files documentation to see what other Shopify Files data you can export with Matrixify.
- Read Shopify Manual about managing your files.