adams.flow.source.RSync
Supports synchronization using rsync.
In case of an error, the stderr output is forwarded, otherwise stdout output.
Flow input/output:
- output: java.lang.String
The logging level for outputting errors and debugging output.
| command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
| default | WARNING |
| min-user-mode | Expert |
The name of the actor.
| command-line | -name <java.lang.String> |
| default | RSync |
The annotations to attach to this actor.
| command-line | -annotation <adams.core.base.BaseAnnotation> |
| default | |
If set to true, transformation is skipped and the input token is just forwarded as it is.
| command-line | -skip <boolean> |
| default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
| command-line | -stop-flow-on-error <boolean> |
| default | false |
| min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
| command-line | -silent <boolean> |
| default | false |
| min-user-mode | Expert |
The local or remote source path (path or [user@]host:path)
| command-line | -source <java.lang.String> |
| default | |
The local or remote destination path (path or [user@]host:path)
| command-line | -destination <java.lang.String> |
| default | |
output the command-line generated for the rsync binary
| command-line | -outputCommandline <boolean> |
| default | false |
increase verbosity
| command-line | -verbose <boolean> |
| default | false |
fine-grained informational verbosity
| command-line | -info <java.lang.String> |
| default | |
fine-grained debug verbosity
| command-line | -debug <java.lang.String> |
| default | |
special output handling for debugging
| command-line | -msgs2stderr <boolean> |
| default | false |
suppress non-error messages
| command-line | -quiet <boolean> |
| default | false |
suppress daemon-mode MOTD
| command-line | -no_motd <boolean> |
| default | false |
skip based on checksum, not mod-time & size
| command-line | -checksum <boolean> |
| default | false |
archive mode; equals -rlptgoD (no -H,-A,-X)
| command-line | -archive <boolean> |
| default | false |
recurse into directories
| command-line | -recursive <boolean> |
| default | false |
use relative path names
| command-line | -relative <boolean> |
| default | false |
use relative path names
| command-line | -no_implied_dirs <boolean> |
| default | false |
make backups (see --suffix & --backup-dir)
| command-line | -backup <boolean> |
| default | false |
make backups into hierarchy based in DIR
| command-line | -backup_dir <java.lang.String> |
| default | |
set backup suffix (default ~ w/o --backup-dir)
| command-line | -suffix <java.lang.String> |
| default | |
skip files that are newer on the receiver
| command-line | -update <boolean> |
| default | false |
update destination files in-place
| command-line | -inplace <boolean> |
| default | false |
append data onto shorter files
| command-line | -append <boolean> |
| default | false |
like --append, but with old data in file checksum
| command-line | -append_verify <boolean> |
| default | false |
transfer directories without recursing
| command-line | -dirs <boolean> |
| default | false |
copy symlinks as symlinks
| command-line | -links <boolean> |
| default | false |
transform symlink into referent file/dir
| command-line | -copy_links <boolean> |
| default | false |
only "unsafe" symlinks are transformed
| command-line | -copy_unsafe_links <boolean> |
| default | false |
ignore symlinks that point outside the source tree
| command-line | -safe_links <boolean> |
| default | false |
munge symlinks to make them safer (but unusable)
| command-line | -munge_links <boolean> |
| default | false |
transform symlink to a dir into referent dir
| command-line | -copy_dirlinks <boolean> |
| default | false |
treat symlinked dir on receiver as dir
| command-line | -keep_dirlinks <boolean> |
| default | false |
preserve hard links
| command-line | -hard_links <boolean> |
| default | false |
preserve permissions
| command-line | -perms <boolean> |
| default | false |
preserve the file's executability
| command-line | -executability <boolean> |
| default | false |
affect file and/or directory permissions
| command-line | -chmod <java.lang.String> |
| default | |
preserve extended attributes
| command-line | -xattrs <boolean> |
| default | false |
preserve owner (super-user only)
| command-line | -owner <boolean> |
| default | false |
preserve group
| command-line | -group <boolean> |
| default | false |
preserve device files (super-user only)
| command-line | -devices <boolean> |
| default | false |
preserve special files
| command-line | -specials <boolean> |
| default | false |
preserve modification times
| command-line | -times <boolean> |
| default | false |
omit directories from --times
| command-line | -omit_dir_times <boolean> |
| default | false |
omit symlinks from --times
| command-line | -omit_link_times <boolean> |
| default | false |
receiver attempts super-user activities
| command-line | -super_ <boolean> |
| default | false |
store/recover privileged attrs using xattrs
| command-line | -fake_super <boolean> |
| default | false |
handle sparse files efficiently
| command-line | -sparse <boolean> |
| default | false |
allocate dest files before writing them
| command-line | -preallocate <boolean> |
| default | false |
perform a trial run with no changes made
| command-line | -dry_run <boolean> |
| default | false |
copy files whole (without delta-xfer algorithm)
| command-line | -whole_file <boolean> |
| default | false |
don't cross filesystem boundaries
| command-line | -one_file_system <boolean> |
| default | false |
force a fixed checksum block-size
| command-line | -block_size <java.lang.String> |
| default | |
specify the remote shell to use
| command-line | -rsh <java.lang.String> |
| default | |
specify the rsync to run on the remote machine
| command-line | -rsync_path <java.lang.String> |
| default | |
skip creating new files on receiver
| command-line | -existing <boolean> |
| default | false |
skip updating files that already exist on receiver
| command-line | -ignore_existing <boolean> |
| default | false |
sender removes synchronized files (non-dirs)
| command-line | -remove_source_files <boolean> |
| default | false |
delete extraneous files from destination dirs
| command-line | -delete <boolean> |
| default | false |
receiver deletes before transfer, not during
| command-line | -delete_before <boolean> |
| default | false |
receiver deletes during the transfer
| command-line | -delete_during <boolean> |
| default | false |
find deletions during, delete after
| command-line | -delete_delay <boolean> |
| default | false |
receiver deletes after transfer, not during
| command-line | -delete_after <boolean> |
| default | false |
also delete excluded files from destination dirs
| command-line | -delete_excluded <boolean> |
| default | false |
ignore missing source args without error
| command-line | -ignore_missing_args <boolean> |
| default | false |
delete missing source args from destination
| command-line | -delete_missing_args <boolean> |
| default | false |
delete even if there are I/O errors
| command-line | -ignore_errors <boolean> |
| default | false |
force deletion of directories even if not empty
| command-line | -force <boolean> |
| default | false |
don't delete more than NUM files
| command-line | -max_delete <int> |
| default | -1 |
don't transfer any file larger than SIZE
| command-line | -max_size <java.lang.String> |
| default | |
don't transfer any file smaller than SIZE
| command-line | -min_size <java.lang.String> |
| default | |
keep partially transferred files
| command-line | -partial <boolean> |
| default | false |
put a partially transferred file into DIR
| command-line | -partial_dir <java.lang.String> |
| default | |
put all updated files into place at transfer's end
| command-line | -delay_updates <boolean> |
| default | false |
prune empty directory chains from the file-list
| command-line | -prune_empty_dirs <boolean> |
| default | false |
don't map uid/gid values by user/group name
| command-line | -numeric_ids <boolean> |
| default | false |
custom username mapping
| command-line | -usermap <java.lang.String> |
| default | |
custom groupname mapping
| command-line | -groupmap <java.lang.String> |
| default | |
simple username/groupname mapping
| command-line | -chown <java.lang.String> |
| default | |
set I/O timeout in seconds
| command-line | -timeout <int> |
| default | -1 |
set daemon connection timeout in seconds
| command-line | -contimeout <int> |
| default | -1 |
don't skip files that match in size and mod-time
| command-line | -ignore_times <boolean> |
| default | false |
send OPTION to the remote side only
| command-line | -remote_option <java.lang.String> |
| default | |
skip files that match in size
| command-line | -size_only <boolean> |
| default | false |
compare mod-times with reduced accuracy
| command-line | -modify_window <int> |
| default | -1 |
create temporary files in directory DIR
| command-line | -temp_dir <java.lang.String> |
| default | |
find similar file for basis if no dest file
| command-line | -fuzzy <boolean> |
| default | false |
also compare destination files relative to DIR
| command-line | -compare_dest <adams.core.base.BaseString> [-compare_dest ...] |
| default | |
... and include copies of unchanged files
| command-line | -copy_dest <adams.core.base.BaseString> [-copy_dest ...] |
| default | |
hardlink to files in DIR when unchanged
| command-line | -link_dest <adams.core.base.BaseString> [-link_dest ...] |
| default | |
compress file data during the transfer
| command-line | -compress <boolean> |
| default | false |
explicitly set compression level
| command-line | -compress_level <int> |
| default | -1 |
skip compressing files with a suffix in LIST
| command-line | -skip_compress <java.lang.String> |
| default | |
auto-ignore files the same way CVS does
| command-line | -cvs_exclude <boolean> |
| default | false |
add a file-filtering RULE
| command-line | -filter <adams.core.base.BaseString> [-filter ...] |
| default | |
exclude files matching PATTERN
| command-line | -exclude <adams.core.base.BaseString> [-exclude ...] |
| default | |
read exclude patterns from FILE
| command-line | -exclude_from <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
include files matching PATTERN
| command-line | -include <adams.core.base.BaseString> [-include ...] |
| default | |
read include patterns from FILE
| command-line | -include_from <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
read list of source-file names from FILE
| command-line | -files_from <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
all *-from/filter files are delimited by 0s
| command-line | -from0 <boolean> |
| default | false |
no space-splitting; only wildcard special-chars
| command-line | -protect_args <boolean> |
| default | false |
bind address for outgoing socket to daemon
| command-line | -address <java.lang.String> |
| default | |
specify double-colon alternate port number
| command-line | -port <int> |
| default | -1 |
specify custom TCP options
| command-line | -sockopts <java.lang.String> |
| default | |
use blocking I/O for the remote shell
| command-line | -blocking_io <boolean> |
| default | false |
give some file-transfer stats
| command-line | -stats <boolean> |
| default | false |
leave high-bit chars unescaped in output
| command-line | -eight_bit_output <boolean> |
| default | false |
output numbers in a human-readable format
| command-line | -human_readable <boolean> |
| default | false |
show progress during transfer
| command-line | -progress <boolean> |
| default | false |
output a change-summary for all updates
| command-line | -itemize_changes <boolean> |
| default | false |
output updates using the specified FORMAT
| command-line | -out_format <java.lang.String> |
| default | |
log what we're doing to the specified FILE
| command-line | -log_file <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
log updates using the specified FMT
| command-line | -log_file_format <java.lang.String> |
| default | |
read daemon-access password from FILE
| command-line | -password_file <java.lang.String> |
| default | |
list the files instead of copying them
| command-line | -list_only <boolean> |
| default | false |
limit socket I/O bandwidth
| command-line | -bwlimit <java.lang.String> |
| default | |
set output buffering to None, Line, or Block (N|L|B)
| command-line | -outbuf <java.lang.String> |
| default | |
write a batched update to FILE
| command-line | -write_batch <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
like --write-batch but w/o updating destination
| command-line | -only_write_batch <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
read a batched update from FILE
| command-line | -read_batch <adams.core.io.PlaceholderFile> |
| default | ${CWD} |
force an older protocol version to be used
| command-line | -protocol <int> |
| default | -1 |
request charset conversion of filenames
| command-line | -iconv <java.lang.String> |
| default | |
set block/file checksum seed (advanced)
| command-line | -checksum_seed <int> |
| default | -1 |
prefer IPv4
| command-line | -ipv4 <boolean> |
| default | false |
prefer IPv6
| command-line | -ipv6 <boolean> |
| default | false |
print version number
| command-line | -version <boolean> |
| default | false |
time out in seconds, stopping rsync process once exceeded, ignored if less than 1
| command-line | -max_time <int> |
| default | -1 |
| minimum | -1 |
The (optional) prefix to use for output from stdout.
| command-line | -prefix-stdout <java.lang.String> |
| default | |
The (optional) prefix to use for output from stderr.
| command-line | -prefix-stderr <java.lang.String> |
| default | |