Rsync Push
AI-generatedSummary
Transfer files from a specified local path inside the n8n container to a remote destination over SSH using rsync, with customizable SSH and rsync options.
Inputs
- Local Path (required) — The source path on the local filesystem inside the n8n container to push from. Append a trailing slash to copy the contents of a directory rather than the directory itself.
- Remote Path (required) — The destination path on the remote host where files will be copied to.
- Strict Host Key Checking — The SSH StrictHostKeyChecking setting to use for the connection, controlling how new or changed host keys are handled.
- Additional SSH Options — Additional SSH options supplied as -o KEY=VALUE lines for the SSH connection.
- Archive Mode — Whether to enable rsync's archive mode (-a), preserving symbolic links, permissions, timestamps, etc.
- Compress — Whether to enable compression during transfer (-z) to reduce bandwidth usage.
- Delete Extra Files — Whether to delete files in the remote destination that are missing from the source (--delete).
- Dry Run — Whether to perform a dry run (--dry-run) showing what would be done without making changes.
- Exclude Patterns — One or more rsync exclude patterns, one per line, to omit files or directories from syncing.
- Rsync Binary — The command or absolute path of the rsync binary to execute.
- Command Timeout — Maximum number of seconds to allow the rsync command to run before timing out.
- Additional Arguments — Additional command-line arguments passed directly to the rsync command.
Output shape
a list of JSON objects corresponding to each input item, detailing the rsync execution result for that item
Each output item includes information about the rsync operation, such as command run, stdout and stderr lines, any errors encountered, and transfer status. If the rsync binary is not found or the operation fails, an error message is returned unless 'Continue On Fail' is enabled, in which case the node continues processing subsequent items.