diff options
author | crupest <crupest@outlook.com> | 2020-10-12 21:01:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-12 21:01:59 +0800 |
commit | 078dd432b73983e54b63179de7d59588994fac88 (patch) | |
tree | 61b046322616689279019ce99f05407d2393c5a2 /2020-algorithm-contest/zip.bash | |
parent | c8a34034bb3df775723d06270dcb27969aa5db5d (diff) | |
download | life-078dd432b73983e54b63179de7d59588994fac88.tar.gz life-078dd432b73983e54b63179de7d59588994fac88.tar.bz2 life-078dd432b73983e54b63179de7d59588994fac88.zip |
Add 2020-algorithm-contest.
Diffstat (limited to '2020-algorithm-contest/zip.bash')
-rw-r--r-- | 2020-algorithm-contest/zip.bash | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2020-algorithm-contest/zip.bash b/2020-algorithm-contest/zip.bash new file mode 100644 index 0000000..519dd45 --- /dev/null +++ b/2020-algorithm-contest/zip.bash @@ -0,0 +1,11 @@ +if [ $# -ne 1 ] +then + echo "please provide exact one argument, problem number" + exit 1 +fi + +pushd ./output/$1/ +zip ./$1.zip *.in *.out +popd + +mv ./output/$1/$1.zip ./output |