home/Bin/rpi-create.sh

9 lines
143 B
Bash
Executable file

#! /bin/bash
sudo dd if=$1 of=$2.raw.img
sudo ~dbroqua/Bin/pishrink.sh $2.raw.img $2.img
sudo chown dbroqua: $2.*
gzip $2.img
rm $2.raw.img