mirror of
https://github.com/Pecusx/jataricart.git
synced 2026-05-20 22:33:22 +02:00
14 lines
201 B
Bash
Executable File
14 lines
201 B
Bash
Executable File
outfile="$1"
|
|
|
|
vol=/Volumes/SDCard
|
|
|
|
echo Copy $outfile to card?
|
|
read
|
|
|
|
while true; do
|
|
[ -d "$vol" ] && cp -v "$outfile" "$vol"/ATARI/ && { eject; exit; }
|
|
echo Waiting for card inserted...
|
|
sleep 1
|
|
|
|
done
|