Uploading folders via Terminal
There are times when I want to upload a chunk of files without logging into (S)FTP. If you’re on a Mac it’s a simple command that will upload everything in a specified folder.
scp -r LOCALPATH user@host:REMOTEPATH
scp -r ~/Desktop/folder/ firstname.lastname@example.org:/var/www/path/