-
Notifications
You must be signed in to change notification settings - Fork 0
/
colabzip
executable file
·38 lines (30 loc) · 905 Bytes
/
colabzip
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# ===================================================================
# File: colabzip
# Author: Erik Johannes Husom
# Created: 2020-10-14
# -------------------------------------------------------------------
# Description: Zip files for uploading to Google Colab.
# ===================================================================
display_help() {
echo "colabzip"
echo
echo "Usage: colabzip"
# echo " or: colabzip [arguments]"
echo
echo "Arguments:"
echo " -h, --help Print Help (this message)"
echo
echo "Description:"
echo " Zip the necessary files for uploading and running in Google Colab."
echo
exit 0
}
script_function () {
zip colab assets/data/raw/* dvc.yaml params.yaml src/* README.md requirements.txt
}
if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then
display_help
else
script_function
fi