#!/bin/bash cd "$(dirname "$0")" node scripts/sync-ftp-images.mjs 2>&1 | tee sync-images-log.txt echo "" echo "Done. See sync-images-log.txt and sync-result.json" read -n 1 -s -r -p "Press any key to close..."