You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
#arXiv is dumb. Need to package TeX files in specific way for submission. This script adjust paths and copies everything to a new folder and zips it up for you.
#Create an arXiv package folder in the desired directory
DEST=$1"arXiv_pkg/"
if ! [ -d "$DEST" ]; then
mkdir $DEST
fi
#Clean up
if [ "$2" == "clean" ]; then
echo "Cleaning up archive and directory at "$DEST
rm $1"arXiv_pkg.tar.gz" && rm -r $DEST
exit 0
fi
#Make sure we are resolving paths correctly (even if not run in this dir)