diff options
author | rafa_99 <rafa99@protonmail.com> | 2020-10-24 02:03:18 +0100 |
---|---|---|
committer | rafa_99 <rafa99@protonmail.com> | 2020-10-24 02:03:18 +0100 |
commit | 0cdb1fbe15d2ab9774fe750f8e26d0d015108f11 (patch) | |
tree | 91181d715b637f22d5502274572f9a19b720bd5a /build.sh | |
parent | c137cbf93d057c6a985d85b35ee6c1e51eb05869 (diff) |
Updated Scripts
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..36bf8a5 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +HOSTNAME=$(hostname) +USERNAME=$(whoami) +TIMESTAMP=$(date '+%Y%m%d_%H%M%S') +EXCLUDE=$(find . -name "*placeholder*" | sed s:"\./"::g | xargs) + +zip -r "$USERNAME"_"$HOSTNAME"-"$TIMESTAMP".zip * -x .git README.md LICENSE build.sh $EXCLUDE |