10 lines
128 B
Bash
Executable file
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
|