12 lines
181 B
Bash
Executable File
12 lines
181 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
|
|
in_file=$(basename "$1")
|
|
|
|
echo "Input file: $1"
|
|
echo "Input file (base): $in_file"
|
|
echo "Host: $2"
|
|
|
|
scp $1 $2:/tmp
|
|
|
|
./scripts/remote/flash.exp "/tmp/$in_file" "$2" |