9 lines
142 B
Plaintext
9 lines
142 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
filename=$(cat /dev/stdin | jq .MetaData.filename)
|
||
|
|
||
|
if [ -n "$filename" ]; then
|
||
|
echo "Error: no filename provided"
|
||
|
exit 1
|
||
|
fi
|