How to Upload Product Images in Bulk (Command Line)


NOTE: This tool is a non-UI tool and can only be run via the command line (terminal/cmd)

Use the Image sync tool to upload product images in bulk. For downloads and detailed info please refer to the link.

The upload CSV file should contain(template attached in the end of this article)

  • SKU - product SKU on Scantrust system
  • image - local image file name
  • __2022-06-27_12.24.29.png

Note: Max image size = 10MB, supported format: jpeg, png


Image Sync Script Beginner Instructions

First, you need to gather all the files you need in one folder. 

  • Image sync tool
  • csv file
  • product image files

MAC Users

  • Open Terminal
  • Type 'cd /your folder location’ and press Enter - how to find the location of your file
cd /Users/[Your User]/Documents/product_image_upload
  • Now you are located in the folder with every file you need
  • The next step is to enter the command to 
    • Select the tool  ./image_sync
    • log in to Scantrust --server
    • User email --user
    • Password --password yourpassword
    • Select the csv file --yourcsvfile.csv
  • Type all of them in one line and press Enter
./image_sync --server –-user --password yourpassword yourcsvfile.csv
  • You will
  • Type r and press Enter to start

Windows Users


  • First, you need to gather all the files you need in one folder. This article will assume that you put all the files on your Desktop in a folder called: image_sync-0.0.2 .
  • The CSV file with the template that you want to upload (we call it template.csv in this article) 
  • Please make sure you disable your antivirus provider temporarily before running the app. 
  • Please make sure that the product and the SKU number are well set in our portal. Otherwise, please check this article: Adding a Product Manually.
  1. Please download our image sync tool from this link:
  2. Please select the option labeled as: "Windows 7+ 64bit"mceclip0.png
  3. You will receive a zip file containing the following files:


  1. Please, run CMD app as an admin on your computer.
  2. Using the following line, type your folder location and press Enter:
cd Users\[your user name]\[File Location]\[File Folder]


C:\Users\[Your User name]>cd Desktop\image_sync-0.0.2
C:\Users\[Your User name]\Desktop\image_sync-0.0.2>

Now you are located in the folder with every file you need. If you want  to confirm what files are included in that folder, please type the following: 

Users\[your user name]\[File Location]\[File Folder]> dir

Then, you should be able to see the following: 

C:\Users\[Your User name]\Desktop\image_sync-0.0.2>dir
Directory of C:\Users\[Your User name]\Desktop\image_sync-0.0.2
29/06/2022 10:02 a. m. <DIR> .
10/08/2022 01:46 p. m. <DIR> ..
24/09/2019 04:14 p. m. 6.578.488 image_sync.exe
24/09/2019 03:47 p. m. 1.869
29/06/2022 10:08 a. m. 45 templateSyncImages.csv
29/06/2022 10:08 a. m. 19 templateSyncImages.csv.log
23/06/2022 10:21 a. m. 18.845 test.jpg
5 files 6.599.266 bytes
2 dirs 370.317.910.016 bytes libres

Once you are located in the folder, the next step is to enter into the command line, the following information:

  • Select the tool:  >image_sync
  • Select the csv file: yourcsvfile.csv
  • log in to Scantrust Server:
  • User email:
  • Password: yourpassword

Type all of them in a single line and then press Enter: 

Users\[your user name]\[File Location]\[File Folder]>image_sync.exe [yourcsvfile.csv] --server –-user [] --password [your password]

Once you press ENTER, you will see: 

C:\Users\[Your User name]\Desktop\image_sync-0.0.2>image_sync.exe templateSyncImages.csv --server --user --password [your password]
Running utility with these settings

Input File templateSyncImages.csv
Log File templateSyncImages.csv.log
Verbose Logging False
Logged in as Nxxxxxxxxxxs
Logged in to as
LOG FILE EXISTS: templateSyncImages.csv.log (0 rows already processed).
r: run with existing logfile
d: delete logfile and process all items
x: exit
What would you like to do?:

Finally, please type r, and press ENTER, the app will upload the number of images in bulk as you indicated previously in the CSV file and will show the following message: 

What would you like to do?: r
Continue uploading using the logfile, previously uploaded items will not be processed.
Syncing 1 images [####################################] 100%
1 Images where uploaded on the system.


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request