shopify-file-sync
v1.4.0
Published
CLI tool to either download files from a shopify store, or migrate files from one shopify store to another.
Downloads
8
Readme
CLI tool to either download files from a shopify store, or migrate files from one shopify store to another.
Install
npm i shopify-file-sync -g
🚀 Usage
Create a private app on the source store (destination store too if migrating) and make sure the files api is enabled. - https://help.shopify.com/en/manual/apps/private-apps
First create a folder and create a file with the name shopify-file-sync.json
Example shopify-file-sync.json
:
{
"store": "store.myshopify.com",
"password": "shppa_etc"
}
Command for downloading files:
shopify-file-sync download
Or if migrating to a different store:
Example shopify-file-sync.json
:
{
"store": "store.myshopify.com",
"password": "shppa_etc",
"migrateTo": {
"store": "destination.myshopify.com",
"password": "shppa_etc"
}
}
Command for migrating files:
shopify-file-sync migrate