#!/bin/sh #efficiently upload flash from ESPbuoy to the current directory buoy=$1 opts=${2---retr-symlinks} [ "$buoy" ] || buoy=ESPbuoy/esp /usr/local/bin/wget -nv -Ncr -nH $opts "ftp://$buoy/*" && echo "*** $buoy Synchronized ***"