From: Steven Baltakatei Sandoval Date: Thu, 2 Jul 2020 17:53:03 +0000 (+0000) Subject: feat(unitproc):Add checkTar. Makes sure a tar exists X-Git-Tag: 0.2.0~11 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/ceadf84262ed4c048b17ae167f5ea9ed96d4d875?ds=sidebyside;hp=ceadf84262ed4c048b17ae167f5ea9ed96d4d875 feat(unitproc):Add checkTar. Makes sure a tar exists Added checkTar() Bash function template. It checks to see if file arg1 is a valid tar archive. If file exists but `tar` doesn't recognize it as valid, then rename it with a nonce and create an empty tar in its place. ---