Created
December 4, 2019 17:43
-
-
Save katerakelly/06fc67418ae4c1a1afa2f7d85550a864 to your computer and use it in GitHub Desktop.
Extract camera-ready submission pdfs from directory downloaded from CMT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
d=$CAMERA_READY_DIR | |
for i in {1..100} | |
do | |
if [ -d "$d/$i" ] | |
then | |
echo $i | |
ls $d/$i/CameraReadySubmission | |
cp $d/$i/CameraReadySubmission/*.pdf $d/$i.pdf | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment