Skip to content

Instantly share code, notes, and snippets.

@katerakelly
Created December 4, 2019 17:43
Show Gist options
  • Save katerakelly/06fc67418ae4c1a1afa2f7d85550a864 to your computer and use it in GitHub Desktop.
Save katerakelly/06fc67418ae4c1a1afa2f7d85550a864 to your computer and use it in GitHub Desktop.
Extract camera-ready submission pdfs from directory downloaded from CMT
#!/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