9 lines
265 B
Bash
Executable file
9 lines
265 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# this should define:
|
|
# UNAME, HOST, PORT, DEST_DIR
|
|
source .env
|
|
|
|
typst compile cv.typ
|
|
echo "Uploading files:" cv.pdf
|
|
rsync --archive -hh --partial --info=stats1 --info=progress2 --modify-window=1 -e "ssh -p ${PORT}" *.pdf ${UNAME}@${HOST}:${DEST_DIR}/
|