pluto/fat32_cp.sh

10 lines
202 B
Bash
Raw Normal View History

#!/usr/bin/env bash
IMAGE_PATH_DIR=$1
mkdir test/fat32/mnt
sudo mount $IMAGE_PATH_DIR test/fat32/mnt/
sudo cp test/fat32/test_files/* test/fat32/mnt/
sudo umount test/fat32/mnt/
rm -rf test/fat32/mnt