zatt.sh
Ciugiu
sh
2 years ago
306 B
13
Indexable
#!/bin/bash
# Check if a filename was provided
if [ $# -ne 1 ]; then
echo "Usage: $0 <filename.zip>"
exit 1
fi
# Check if the file exists
if [ ! -f $1 ]; then
echo "File $1 not found!"
exit 1
fi
# Convert the ZIP file to a PNG image
base64 $1 | convert label:@- output.pngEditor is loading...
Leave a Comment