Use rsync to push a plugin from a local development machine to a remote server.
Sync a Single WP Plugin
Trailing slash or not? That is the question…
- No trailing slash on source path: rsync will create the last directory of the path before copying content. In the case above, you’d end up with
- Append a trailing slash - rsync will only copy the contents (subdirectories and files) of the source directory directly to the target - Not the directory itself.
I’m always forgetting this - it seems counter-intuitive!
comments powered by Disqus