App-FileSync
view release on metacpan or search on metacpan
lib/App/FileSync/I18N/en.pm view on Meta::CPAN
'client.req.delete' => 'Cannot delete %{path}s on the server: %{reason}s',
'client.req.ack_delete' => 'Server did not accept the deletion of %{path}s: %{reason}s',
'client.req.ack_dir' => 'Server did not accept directory %{path}s: %{reason}s',
'client.req.ack' => 'Server did not accept %{path}s: %{reason}s',
'client.req.get' => 'Cannot read %{path}s from the server: %{reason}s',
'client.req.mkdir' => 'Cannot create directory %{path}s on the server: %{reason}s',
'client.req.put' => 'Server refused %{path}s: %{reason}s',
'client.req.chunk' => 'Server rejected data for %{path}s: %{reason}s',
'client.req.store' => 'Cannot store %{path}s on the server: %{reason}s',
'client.req.signature' => 'Server refused the signature for %{path}s: %{reason}s',
'client.req.delta' => 'Server refused the delta for %{path}s: %{reason}s',
'client.req.delta_data' => 'Server rejected delta data for %{path}s: %{reason}s',
'client.hash_mismatch' => 'Hash mismatch while copying %{path}s: expected %{expected}s, got %{got}s',
'client.size_mismatch' => 'Size mismatch while copying %{path}s: expected %{expected}s, got %{got}s',
'client.bad_copy' => 'Bad copy instruction for %{path}s',
'client.bad_op' => 'Unknown delta instruction for %{path}s',
'client.conflict_exists' => 'Conflict copy already exists: %{path}s',
'client.conflict_move' => 'Cannot preserve %{path}s as %{to}s: %{error}s',
'client.unsafe' => q{Unsafe path '%{path}s': %{reason}s},
'client.cannot_stat' => 'Cannot stat %{path}s: %{error}s',
'client.need_server_root' => 'Repo %{repo}s needs a server_root for the local transport',
'client.need_server' => 'Repo %{repo}s needs a server (user@host) for the ssh transport',
'client.bad_transport' => q{Unknown transport '%{transport}s' for repo %{repo}s},
'client.record_failed' => 'cannot record this run in %{path}s: %{error}s',
'client.dir_replaced' => q{%{path}s was a directory holding files the sync does not track (such as ignored ones); it was moved to the trash in %{trash}s before the file replaced it},
'client.no_versions' => q{No trashed version of '%{path}s' for repo '%{repo}s' in %{trash}s},
'client.not_dir' => 'Restore target %{path}s is not a directory',
'client.exists' => 'Refusing to overwrite %{path}s; move it aside or use --to DIR',
'client.not_replica' => q{Repo '%{repo}s' is a client, not a replica; only a replica keeps snapshots},
'transport.missing' => '%{transport}s transport: no %{what}s given',
'transport.bad_value' => q{SSH transport: bad %{field}s '%{value}s'},
'transport.bad_id' => 'SSH transport: %{reason}s',
'process.spawn' => q{Cannot start '%{program}s': %{error}s},
'process.inherit' => 'Cannot stop a child process inheriting a pipe: %{error}s',
'cli.help.client' => <<'USAGE',
filesync - keep a directory in step with a master copy
filesync init --repo NAME --root DIR --server USER@HOST [--remote-repo NAME]
[--id ID] [--role client|replica] [--port N] [--identity FILE]
[--accept-host-key] [--known-hosts FILE] [--server-command PATH]
[--snapshot-mode hardlink|copy]
filesync init --repo NAME --root DIR --transport local --server-root DIR
[--remote-repo NAME] [--id ID] [--role client|replica]
filesync sync [--repo NAME]... [--dry-run] [--force] [--verbose] [--quiet]
[--json] [--no-prune] [--no-delta]
filesync status [--repo NAME] [--json]
filesync log [--repo NAME] [-n N] [--since YYYY-MM-DD|EPOCH]
[--until YYYY-MM-DD|EPOCH] [--exit N]... [--warnings] [--json]
filesync settings [--config FILE] [--json]
filesync verify [--repo NAME] [--deep] [--json]
filesync restore PATH [--repo NAME] [--to DIR] [--list]
filesync snapshot [--repo NAME] [--keep N]
filesync snapshot list [--repo NAME]
filesync snapshot restore DATE [PATH] [--repo NAME] [--to DIR]
filesync version
The sync root must contain the .filesync-root marker created by "filesync init".
Diagnostics go to stderr; settings are read from ~/.conf/app-filesync.json or
$FILESYNC_SETTINGS (log_level, log_format, log_file, ssh_identity,
ssh_known_hosts, server_command). "filesync settings" prints the effective
values and where each came from. Per-repo values from "filesync init" win;
port and host_key_checking exist per repo only and are marked [repo only].
Exit codes: 0 ok, 1 fatal, 2 another run holds the lock, 3 completed with
warnings, 4 verification found drift.
"filesync init --help" explains the options init takes.
USAGE
'cli.help.init' => <<'USAGE',
filesync init - register a directory in this client's configuration
filesync init --repo NAME --root DIR --server USER@HOST [options]
filesync init --repo NAME --root DIR --transport local --server-root DIR
--repo NAME the repo name, as the server knows it
--root DIR the local directory to keep in step (created if needed)
--server HOST the ssh server, as host or user@host
--server-root DIR the server root, for --transport local
--remote-repo NAME the repo name on the server, if it differs from --repo
--id ID the id the server knows this client by
The id defaults to this machine's host name. That is the name the server
keeps this client's base, journal entries and conflict copies under, and the
name "filesync-admin client allow" must list. Pass --id only to override it
- for two machines with the same host name, say. It is not a login, and it
does not divide the repo: every client of a repo syncs the whole tree.
--transport ssh|local how the server is reached; the default is ssh, or
local when --server-root is given
--role client|replica what this client may do; default client
--identity FILE ssh identity file
--known-hosts FILE ssh known_hosts file
--port N ssh port
--accept-host-key trust an unknown host key on first use
--server-command PATH the server program to run over ssh
--snapshot-mode MODE hardlink or copy, for "filesync snapshot"
--config FILE the client configuration file to write
Exit codes: 0 ok, 1 fatal.
USAGE
'cli.help.admin' => <<'USAGE',
filesync-admin --root DIR <command>
repo create NAME [--trash-days N] [--max-deletes N] [--max-delete-percent N]
[--ignore PATTERN]...
repo list
repo show NAME
client allow ID --repo NAME [--role client|replica]
client list --repo NAME
client forget ID --repo NAME
reindex NAME [--dry-run] [--json]
verify NAME [--deep] [--sample N] [--json]
restore NAME PATH [--to DIR] [--list] [--date YYYY-MM-DD]
log NAME... [-n N] [--client ID] [--since YYYY-MM-DD|EPOCH]
[--until YYYY-MM-DD|EPOCH] [--exit N]... [--warnings] [--json]
repo create options:
--trash-days N days the server keeps deleted files; default 30,
lib/App/FileSync/I18N/en.pm view on Meta::CPAN
'cli.server.bad_role' => q{filesync-server: bad role '%{role}s'},
'cli.server.proto' => q{filesync-server: unsupported protocol '%{proto}s'},
'cli.server.forced' => 'filesync-server: %{reason}s',
'cli.server.tty' => 'filesync-server speaks the sync protocol on stdin and is not for interactive use; it is the forced command in authorized_keys',
'cli.init.bad_id' => 'init: %{reason}s',
'cli.init.bad_role' => q{init: bad role '%{role}s'},
'cli.init.bad_mode' => q{init: bad snapshot mode '%{mode}s' (want hardlink or copy)},
'cli.init.bad_transport' => q{init: unknown transport '%{transport}s'},
'cli.init.need_server_root' => 'init: the local transport needs --server-root',
'cli.init.need_server' => 'init: the ssh transport needs --server',
'cli.init.bad_server' => q{init: bad server '%{server}s' (want user@host or host)},
'cli.init.no_known_hosts' => 'init: --known-hosts does not exist: %{path}s',
'cli.init.accept_ssh_only' => 'init: --accept-host-key only applies to the ssh transport',
'cli.init.bad_root' => 'init: cannot use %{root}s as a sync root',
'cli.init.done' => q{Initialised repo '%{repo}s'},
'cli.init.client_id' => ' client id: %{id}s',
'cli.init.root' => ' root: %{root}s',
'cli.init.transport' => ' transport: %{transport}s',
'cli.init.server' => ' server: %{server}s',
'cli.init.host_key_tofu' => ' host key: accept-new (trusted on first use)',
'cli.init.host_key_strict' => ' host key: strict',
'cli.init.config' => ' config: %{path}s',
'cli.sync.would' => ' would %{verb}s %{path}s',
'cli.sync.summary' => '%{repo}s%{dry}s: pulled %{pulled}d, pushed %{pushed}d, deleted %{deleted}d, conflicts %{conflicts}d',
'cli.sync.dry_tag' => ' (dry run)',
'cli.sync.transfer' => ' transfer: %{report}s',
'cli.transfer.report' => 'sent %{sent}s, received %{received}s, %{files}s by delta%{detail}s',
'cli.transfer.pulled' => '%{count}d pulled',
'cli.transfer.pushed' => '%{count}d pushed',
'cli.size.bytes' => '%{value}d B',
'cli.size.scaled' => '%{value}.1f %{unit}s',
'cli.size.exact' => '%{value}s B',
'cli.status.repo' => '%{repo}s: %{root}s',
'cli.status.transport' => ' transport: %{transport}s',
'cli.status.last_run' => ' last run: %{last_run}s',
'cli.status.transfer' => ' transfer: %{report}s',
'cli.status.files' => ' files: %{files}d',
'cli.log.none' => '%{repo}s: no runs recorded',
'cli.log.error' => '%{repo}s %{ts}s exit %{exit}d %{message}s',
'cli.log.run' => '%{repo}s %{ts}s exit %{exit}d pulled %{pulled}d, pushed %{pushed}d, deleted %{deleted}d, conflicts %{conflicts}d%{skipped}s%{transfer}s%{dry}s',
'cli.log.skipped' => ', skipped %{count}d',
'cli.log.dry_tag' => ' (dry run)',
'cli.log.heading' => '%{repo}s:',
'cli.log.no_events' => 'No journal entries for %{repo}s',
'cli.log.event' => '%{indent}s%{ts}s %{client}-12s %{action}-12s %{detail}s',
'cli.settings.file' => 'settings file: %{file}s',
'cli.settings.no_file' => '(none)',
'cli.settings.row' => ' %{key}-16s %{value}-40s %{source}s',
'cli.settings.note' => "An empty ssh_identity or ssh_known_hosts means ssh's own default; an empty server_command means filesync-server.\nIn the repo sections, [repo only] marks port and host_key_checking, which have no process-wide defaul...
'cli.settings.repos' => 'repos:',
'cli.settings.repo' => ' %{repo}s (%{transport}s%{server}s)',
'cli.settings.local' => ' the local transport does not use the SSH settings',
'cli.settings.repo_row' => ' %{key}-18s %{value}-38s %{source}s',
'cli.settings.stderr' => '(stderr)',
'cli.settings.ssh_default' => '(ssh default)',
'cli.settings.server_default' => 'filesync-server',
'cli.source.default' => '%{label}s',
'cli.source.merged' => 'merged: %{label}s',
'cli.source.env' => 'environment %{label}s',
'cli.source.file' => 'file %{label}s',
'cli.repo_source.repo' => 'repo (%{label}s)',
'cli.repo_source.process' => 'process (%{label}s)',
'cli.repo_source.default' => '%{label}s',
'cli.source.repo_only' => '%{description}s [repo only]',
'cli.verify.summary' => '%{repo}s: %{state}s (%{files}s, %{rehashed}d rehashed, %{trusted}d unchanged)',
'cli.verify.clean' => 'clean',
'cli.verify.drift' => 'drift detected',
'cli.verify.no_base' => ' no cached base for this repo (it has not synced yet)',
'cli.verify.modified' => ' modified: %{path}s%{reason}s',
'cli.verify.missing' => ' missing: %{path}s',
'cli.verify.extra' => ' extra: %{path}s',
'cli.restore.no_versions' => q{No trashed versions of '%{path}s'},
'cli.restore.no_versions_in' => q{No trashed versions of '%{path}s' in %{repo}s},
'cli.restore.version' => '%{date}-12s %{size}10s %{mtime}s %{path}s',
'cli.restore.done' => 'Restored %{path}s to %{to}s',
'cli.restore.admin_done' => 'Restored %{repo}s:%{path}s from %{from}s to %{to}s',
'cli.restore.the_trash' => 'the trash',
'cli.snapshot.exists' => '%{repo}s: snapshot %{date}s already exists; left as it was',
'cli.snapshot.taken' => '%{repo}s: snapshot %{date}s taken (%{files}s, %{size}s) in %{path}s',
'cli.snapshot.pruned' => {
_by => 'count',
one => '%{repo}s: pruned %{count}d old snapshot (kept %{kept}d): %{dates}s',
other => '%{repo}s: pruned %{count}d old snapshots (kept %{kept}d): %{dates}s',
},
'cli.snapshot.none' => 'No snapshots for %{repo}s',
'cli.snapshot.header' => '%{date}-12s %{files}8s %{size}10s %{path}s',
'cli.snapshot.column.date' => 'DATE',
'cli.snapshot.column.files' => 'FILES',
'cli.snapshot.column.size' => 'SIZE',
'cli.snapshot.column.path' => 'PATH',
'cli.snapshot.row' => '%{date}-12s %{files}8d %{size}10s %{path}s',
'cli.snapshot.restored' => '%{repo}s: restored %{what}s from snapshot %{date}s (%{files}s, %{size}s) to %{to}s',
'cli.snapshot.whole_tree' => 'the whole tree',
'cli.snapshot.into_root' => 'note: a replica mirrors the master again on the next sync; use --to DIR to keep an exported copy',
'cli.admin.root_value' => 'filesync-admin: --root needs a value',
'cli.admin.unknown_verb' => q{Unknown %{group}s command '%{verb}s'},
'cli.admin.empty_name' => 'log: NAME must not be empty',
'cli.repo.created.name' => q{Created repo '%{repo}s'},
'cli.repo.created.master' => ' master: %{master}s',
'cli.repo.created.config' => ' config: %{config}s',
'cli.repo.none' => 'No repos under %{root}s',
'cli.repo.no_clients' => '(none)',
'cli.repo.trash_days' => { _by => 'count', one => 'kept %{count}d day', other => 'kept %{count}d days' },
'cli.repo.trash_forever' => 'kept forever',
'cli.repo.limits' => '%{files}s / %{percent}s',
'cli.repo.limits_off' => 'none (any number of deletions)',
'cli.repo.limit_files' => { _by => 'count', one => '%{count}d file', other => '%{count}d files' },
'cli.repo.limit_files_off' => 'no file limit',
'cli.repo.limit_percent' => '%{percent}s%%',
( run in 0.616 second using v1.01-cache-2.11-cpan-60884a8df76 )