dotfiles/termscripts/zip.sh
2019-11-27 21:48:59 +01:00

10 lines
128 B
Bash
Executable file

#!/usr/bin/env sh
if [ $# -eq 1 ]; then
name="$1"
else
name="$(basename "$(pwd)")"
fi
files="$@"
zip $name.zip $files