Introducing [fup] - Fast uploader
When I'm working on a plugin or a theme I need to upload files very often (every time a feature is completed). Transferring manually using filezilla, plain ssh or ftp can be enough fast, but when you have many and many projects this operation can be painful: remember remote user, remember remote path, remember to exclude some files...
Fup is a shell script to automate parametric upload ( paths, host, exclude ). By now support only ssh.
Example with vanilla plugin project
This is a .fup file for a plugin that I'm developing for a customer, placed inside the plugin directory
[email protected] SSH_PORT=65100 REMOTE_DIR=public_html/plugins EXCLUDED_DIRS=compiler EXCLUDED_FILES=js/compiled.js
When I launch
fup from the plugin directory, the entire directory is uploaded to
[email protected]:public_html/plugins. If the remote dir
public_html/plugins/my-plugin doesn't exists it will be created. Is fast because the directory is bzipped before upload and extracted on the remote machine.
Docs, download and fork
I hope you'll enjoy it.
There was an error rendering this rich post.