Rsync Directory to Remote Server

Synchronizes a local directory to a remote server, only transferring new or changed files. The trailing slash on the source means "contents of" not "the directory itself".

When you need this: When deploying static assets or syncing directories to a remote server.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.