I am trying to copy a bunch of files that are saved in one folder called project2 from my computer to a virtual machine or "remote host". I was wondering what would be the syntax for that? so far I've tried,
scp -r project2 /documents/folderName/computerScience username@IPaddressofserver:/nameOfDirectoryIWantItPutInto
Thank you!