Sync folder between servers (rsync)
Copy files efficiently between servers, only transferring differences. Preserves timestamps and permissions.
Synchronizes files from a local path to a remote server using rsync over SSH. -avz enables archive mode, verbose output, and compression. Only transfers changed files.
When you need this: When migrating a site to a new server or syncing media files between environments.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.