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
It's very helpful to have the pdfs in one location, but it would be even better if the week and lecture number prefixed the title so they could be sorted. The following shell code is one way to do the renaming.
for w in 1 2 ; do
( cd week${w}
for n in 0* ; do
lnum=$(echo ${n} | cut -c 1-3)
lnam=$(echo ${n} | cut -c 4-)
( cd ../pdfs
git mv ${lnam}.pdf ${w}${lnum}-${lnam}.pdf )
done )
done
The text was updated successfully, but these errors were encountered:
It's very helpful to have the pdfs in one location, but it would be even better if the week and lecture number prefixed the title so they could be sorted. The following shell code is one way to do the renaming.
The text was updated successfully, but these errors were encountered: