some useful linux scripts
usage:
- mount an SSD
- Copy the file under Document to your SSD
- unmount SSD
chmod +x ./mount_and_copy.sh
./mount_and_copy.sh
so far you need to edit mount point and copy path manually
usage: shrink your image
- add permission:
chmod +x ./pishrink.sh
- execute (select your image):
sudo ./pishrink.sh -v ./UAV0605_mavros-and-realsense.img