CallMeTechie
DE Login
Home Products Blog About Contact

Copy Files (/copy)

v1.0 · Updated 5 days ago

Copy Files: /copy

/copy <src> <dst> copies once between local and server. One side is always a server endpoint <server>:<path>, the other a local path:

# local -> server
/copy ./docker-compose.yml homeserver:/srv/compose/

# server -> local
/copy homeserver:/srv/backup ~/backup

Transport

If rsync is present on both sides, Fleet Manager uses rsync with --protect-args (safe handling of special characters). If rsync is missing, an scp fallback kicks in — but it refuses paths with spaces or special characters.

Protected destinations

When you write into a path marked as protected (protected_paths), the command requires the confirmation --confirm=<server> (the server name as a token):

/copy ./config homeserver:/etc/app --confirm=homeserver

Cookie Settings

We use cookies to improve your experience. Essential cookies are always active.

Privacy Policy
ESC
↑↓ navigate open esc close