atlas cp#
file version: 10 July 2026
Overview#
atlas cp copies one or more files or directories to a new location on
the server.
When more than one source is given, or when the destination ends with
/ or a source is a glob, the destination is treated as a directory
and each source is placed at <destination>/<basename(source)>.
Usage#
atlas cp <source...> <destination> [flags]
Restart Behavior#
The following flags control restart behavior when the destination file already exists.
Flag |
Description |
|---|---|
|
Overwrite unconditionally |
|
Skip if destination is at least as new as source |
|
Skip files that already exist at the destination |
|
Tolerate mtime drift in seconds under |
|
Submit a job that decides what to do but writes nothing |
Other Flags#
Flag |
Description |
|---|---|
|
Copy directories recursively |
|
Copy all sources into a target directory |
|
Show help for |
Examples#
atlas cp /data/file.txt /backup/file.txt
atlas cp -r /data/project /backup/project --force
atlas cp -r --update /data/project /backup/project # rsync-style restart
atlas cp -n -r /data/project /backup/project # preview only
atlas ls -R -0 /src | xargs -0 atlas cp -t /dst # NUL-safe batch copy
Global Flags#
Flag |
Description |
|---|---|
|
Path to CA certificate for server verification |
|
Machine-readable output format ( |
|
Interface language ( |
|
Disable color output |
|
Use plaintext (non-TLS) connection |
|
ATLAS server address; defaults to |
|
Skip TLS certificate verification; enabled by default for self-signed setups |