shell command to copy the newest downloaded firmware to mbed by mac

  1. !/bin/sh cd `dirname $0` rm /Volumes/MBED/*.bin cp `ls -t1 /Downloads/*.bin | head -1` "/Volumes/MBED"


Please log in to post comments.