Skip to content

Instantly share code, notes, and snippets.

View 21zz's full-sized avatar
💭
doing stuff

z 21zz

💭
doing stuff
View GitHub Profile
#!/bin/bash
if [ "$#" -ne 1 ];
then
echo "Usage:"
echo " 25mb /path/to/video.mp4"
exit 1
fi
video="$1"
filename=$(basename -- "$video")