Spatula.js
Installation
npm i spatulajs -g
Usage
spatula files uploads up
-- syncs files from local to remote using the uploads
configuration
spatula files uploads down
-- syncs files from remote to local using the uploads
configuration
Demo config for file syncing via rsync
{
"files": {
"uploads": {
"exclude": [],
"local": "wordpress/content/uploads/",
"remote": {
"host": "my.ssh.host.com",
"user": "myuser",
"password": "",
"path": "/home/myuser/website/uploads/"
}
},
"deploy": {
"exclude": [],
"local": "/build/",
"remote": {
"host": "my.ssh.host.com",
"user": "myuser",
"path": "/home/myuser/website/"
}
}
}
}