---
updatedAt: 2026-04-20T19:21:04.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/netstorage/llms.txt
---

# Use Rsync

The “Rsync” program is a UNIX system-based tool that allows you to copy content from a local machine to a remote machine—your system to a NetStorage storage group. This tool is particularly useful because it quickly synchronizes content by transferring only the changed files. It does not overwrite standing files you’ve already transferred. This makes it easier to simply transfer what has changed from a local copy, at the expense of extra remote read operations.

NetStorage offers support for two “versions” of Rsync:

* **[Secure Rsync](https://techdocs.akamai.com/netstorage/docs/use-rsync#secure-rsync)**.  With this version, you connect by resolving a Secure Shell (SSH) key pair. You then issue Rsync commands via this connection.
* **[Non-secure Rsync](https://techdocs.akamai.com/netstorage/docs/use-rsync#non-secure-rsync)**. With this version, you create a unique password and include it for authentication when issuing Rsync commands.

# Rsync-specific guidelines and requirements

### Use the same Rsync version as NetStorage

For best results, we recommend that the Rsync client installed the system that will perform the transfers (the “client”) be as close in version as possible to the Rsync server used by NetStorage. This ensures compatibility with supported [rsync command options](https://techdocs.akamai.com/netstorage/docs/use-rsync#supported-rsync-command-options). Older versions can be problematic, and newer ones may offer functionality that is not supported.

NetStorage currently supports version: 3.1.2

### Rsync file total limitations

There's no specific limit to the number of Rsync operations that target a NetStorage storage group. However, the storage group itself is subject to [technical limits](https://techdocs.akamai.com/netstorage/docs/technical-limits-with-netstorage).

### Recommendations when targeting a directory

The nature of Rsync is to scan directories and only update content it finds to be new or updated. This is the benefit of Rsync—you can be lenient on tracking your file content, because there is reduced fear of complete overwrite. We recommend that you be specific in targeting subdirectory trees you know to contain new or changed content. Rsync under-performs if you target a large directory structure, because it continually scans until it finds this content.

> 📘
>
> The more directories and files Rsync has to scan, the longer an operation will take.

### Know your source environment

Be mindful of your local source environment and protect your directory tree configuration. This helps to avoid sudden large target changes as a result of accidental source changes. For example, there could be an accidental configuration change on your end that selects a new, empty source directory. Rsync could inadvertently use it to synchronize content in NetStorage. Since the new source is empty, Rsync will faithfully attempt to delete everything in the storage group to make it conform with this empty directory.

### Rsync and smaller quantity transfers

Due to the nature of Rsync and its typical configuration, we recommended you use Rsync to transfer larger quantities of files. Since Rsync must scan the entirety of a directory tree to determine what to transfer, it may not be suited for\
the immediate transfer of files. For example, if you are looking to quickly transfer five or six files, you would be better off uploading them via the CMShell system (if SSH security is desired), or an FTP connection.

### Using Rsync on the Sun Microsystems Solaris operating system

The Solaris operating system truncates any Rsync password greater than eight (8) characters (i.e., its ` getpass()` function call in Rsync only takes the first eight characters). If your password is longer than this, you can work around the problem by using the `--password-file` option, or by setting the environment variable, `“RSYNC_PASSWORD”`.

### The “--delete” command and the Force Case feature

> 🚧 Use this combination of features with caution
>
> Misconfiguration of your system may have undesired results that leads to additional processing of files and additional latency due to [geographic replication](https://techdocs.akamai.com/netstorage/docs/geographic-replication-impacts-transfers).

NetStorage’s [Force Case](https://techdocs.akamai.com/netstorage/docs/create-a-storage-group#advanced-settings) functionality only affects individual file lookup and creation, not file enumeration (that is, any call that results in a list.) An end user’s file requests are converted to the desired case, as are uploaded file names.

Force Case will likely behave unexpectedly if used with Rsync's `--delete` option. This option removes files from the destination directories being synchronized if they are no longer present on the source.

**Example unsupported scenario**

This example demonstrates an incorrect use of Force Case with Rsync and the `--delete` option. The symptoms will appear as slow processing of files, excessive processing, origin churn, and geographic replication latency.

1. **Force Case**: Set to force file names to lowercase.
2. Initial upload of a local file called **TextFile.txt**.
3. Force Case processes the file and stores it on NetStorage as **textfile.txt**.
4. When you attempt a new Rsync operation using the `--delete` option:
   1. Your client notes that it does not have a local file named **textfile.txt**.
   2. Your client directs NetStorage to delete **textfile.txt**.
   3. Your client then re-uploads the local file **TextFile.txt**.
   4. Force Case subsequently renames to **textfile.txt**.

Two work-around options are currently available:

* **Don't use the** `--delete` **option.** Instead, use Rsync to update any changed files first. Then perform a local scan for deleted files and use CMShell or another mechanism to delete those files from NetStorage.
* **Rename all local files to match your Force Case settings.** In this case, `--delete` will work as expected.

***

# Secure Rsync

Use SSH with rsync for secure transfers.

With this method, you define an SSH key pair—a “private” and “public” key set. You apply the public instance of the key to an upload account that has been configured to access the desired storage group. You then tell Rsync which Secure Shell (SSH) client to use so content is encrypted as it traverses the public Internet. The private key is incorporated within commands to resolve with the public instance to grant access to the target storage group. Other requirements apply, and are discussed here.

## Before you begin using secure Rsync

You must generate and apply an SSH key for use.

* If you have already applied an SSH key to an applicable upload account, this key can also be used. However, for added security, it is recommended that a unique key be used.
* You must know the upload domain name associated with the target storage group.
* You must have an Rsync client installed on your local system.
* The Rsync tab in the Access Methods section of the NetStorage Groups UI is not used if you wish to use secure Rsync. That functionality only applies to the use of non-secure Rsync.
* If you intend to use an existing SSH key for connection, you will need to know the “passphrase” associated with it, if one has been applied to it. If you don’t know the passphrase, you’ll need to create a new SSH key pair.

### Additional requirements for secure Rsync

If you are using secure Rsync, you should also meet the following requirements:

* **OpenSSH version 6.7 or later**. For multi-threading and higher window sizes. See additional information on the [OpenSSH](https://www.openssh.com/).
* **High Performance Network Patches are recommended**. These [patches](https://www.psc.edu/hpn-ssh) are applied to remove a networking bottleneck that exists in the base OpenSSH code. Additional details are available via an [FAQ](https://www.psc.edu/index.php/hpn-ssh/640).
* **If your client CPU maxing out**. This is unlikely if you are using a wide-area network, but if it does happen, you can use the multi-threaded AES-CTR cipher if that meets your security needs.

### How secure Rsync commands are issued

Rsync commands are issued via a Terminal Session (Linux/UNIX-based OS) or a terminal session emulator such as Cygwin (Windows OS).\
Regardless of the type of command used, various values must be set in the syntax when using secure Rsync:

* **Call the Rsync** `SSH` **Command Option**: The Rsync command option `-e ssh` must be included in the syntax.
* **Call Out the “Private Key”** - You will need to include the `-i` option along with the Rsync SSH command option (above), and include the path to the private key on your local system. Additionally, the entire “ssh” segment must be\
  enclosed in quotes: `-e "ssh -i /<path>/<Private Key File>"`.
* **Username** - When providing the username, the value `sshacs` must be used. This is the case for all Secure Access Methods in NetStorage.

***

## Secure Rsync usage examples

Here are examples to securely view directory lists, uploading, and downloading files.

### Upload a single file with secure Rsync

In this example, a single file is to be uploaded. Here, the `<src>` variable is included first, to target the file for upload, and the `<dest>` variable  exists as the path in the target storage group.

```text Command format
rsync <option> -e "ssh -i <private key>" <src> sshacs@<Upload Domain Name>:/<CPCode>/<dest>/
```
```text Example upload of a single file
rsync -av -e "ssh -i usr/local/scripts/keys/private_1.ppk" /uploads/footage_03-13.mp4 sshacs@baseball.rsync.upload.akamai.com:/123456/baseball/
```

> 📘
>
> Ensure that the path included for the destination ends in a trailing slash (“/”). Otherwise the operation will rename the file. In the example above, if the trailing slash was left out, “footage\_ 03-13.mp4” would be renamed to “baseball.”

### Download a single file with Secure Rsync

In this example, a single file is targeted for download. Here, the `<src>` variable represents the path to the target file in the storage group, and the `<dest>` is included last to specify where on the local system the file is to be downloaded.

```text Command format
rsync <option> -e "ssh -i <private key>" sshacs@<Upload Domain Name>:/<CPCode>/<src> <dest>
```
```text Example download of a single file
rsync -av -e "ssh -i usr/local/scripts/keys/private_1.ppk" sshacs@baseball.rsync.upload.akamai.com:/123456/baseball/footage_03-13.mp4 /downloads/baseball/
```

### View a directory contents with Secure Rsync

In this example, a single directory is called out to view its contents. Here, a `<src>` variable is not included because a specific file isn't being moved. The `<dest>` variable serves to call out the specific directory to be viewed.

```text Command format
rsync <option> -e "ssh -i /<private key>" sshacs@<Upload Domain Name>:/<CPCode>/<dest>
```
```text Example directory listing
rsync -av -e "ssh -i usr/local/scripts/keys/ssh/private.ppk" sshacs@baseball.rsync.upload.akamai.com:/123456/baseball/
```

### Secure Rsync connection syntax

Syntax variable definitions and their use in example commands.

[block:html]
{
  "html": "<table id=><caption></caption><colgroup><col><col></colgroup><thead><tr><th id=>Variable</th><th id=>Description</th></tr></thead><tbody><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">...</span></code></td><td headers=>This indicates that multiple instances of the variable can be used. For example,<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;option&gt;...</span></code><span>&nbsp;</span>indicates that multiple options can be applied).</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;option&gt;</span></code></td><td headers=>This indicates that you can specify at least one command option.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;private key&gt; (optional)</span></code></td><td headers=>This represents the complete path to the private instance of the SSH key on your local system (including its extension, if applicable). After execution of the command, this is resolved with the public instance of the SSH key you have applied to the applicable upload account for access.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">sshacs@&lt;Upload Domain Name&gt;</span></code></td><td headers=>The required secure access username is<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">sshacs</span></code>, followed by your domain name prefix and upload domain.<p>For example, if your domain name prefix is<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">baseball</span></code>, you would look up the correct upload domain name for your storage group, this value would be:<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">.rsync.upload.akamai.com</span></code>. Combine all of the values to create the full connection string:<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">sshacs@baseball.rsync.upload.akamai.com</span></code></p></td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;src&gt;</span></code></td><td headers=>This is the complete path to one or more source files to be targeted. This value can apply to content on your local system (to be uploaded), or content in your NetStorage storage group. (For example, to target it for download or view stats).</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;CP Code&gt;</span></code></td><td headers=>This is a Content Provider (CP) code that has been provisioned for use with your instance of NetStorage, and has been configured as the root directory in the storage group.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;dest&gt;</span></code></td><td headers=>This is the complete path to the desired destination for the operation. This value can apply to a directory in your NetStorage storage group (a destination for an upload), or to one on your local system (for a download).</td></tr></tbody></table>"
}
[/block]

***

# Non-secure Rsync

With "non-secure Rsync," you develop a unique password and associate it with an upload account you use to access a specific storage group.

When you issue commands via your Rsync client to this storage group, you include this password value for use in authentication.

In difference to FTP, the password is protected by a challenge-response mechanism. However, content is still sent “in the clear” via the public Internet. It is not encrypted, as is the case with [Rsync](https://techdocs.akamai.com/netstorage/docs/rsync) via SSH.

### Before you begin using non-secure Rsync

You should use secure connections when possible, but if there's a need for non-secure connections, here's what you need to know.

* You must generate a unique [Rsync](https://techdocs.akamai.com/netstorage/docs/rsync#apply-a-password-for-non-secure-rsync) in an upload account that has been configured to access the desired storage group.
* You must also know the username ("**Id**") of the upload account in which you set up the password.
* You must know the [Upload domain](https://techdocs.akamai.com/netstorage/docs/access-methods) associated with the target storage group.
* You must have an Rsync client installed on your local system.

### Non-secure Rsync (password) and Solaris

The Solaris operating system truncates any Rsync password greater than eight (8) characters. (Its `getpass()` function call in Rsync only takes the first eight characters). If your password is longer than this, you can work around the problem by using the `--password-file` option, or by setting the environment variable, “**RSYNC\_PASSWORD**”.

***

## Non-secure Rsync usage examples

Here are examples to non-securely view directory lists, uploading, and downloading files.

Each NetStorage access method has an optimized [upload domain](https://techdocs.akamai.com/netstorage/docs/access-methods). Use `<Domain name prefix>.rsync.upload.akamai.com` for rsync uploads.

### Upload a single file with non-secure Rsync

In this example, a single file is to be uploaded. Here, the `<src>` variable is included first, to target the file for upload, and the `<dest>` variable exists as the path in the target storage group.

```text Command format
rsync <option>  <src> <user@upload_domain_name>::<Username>/<CPCode>/<dest>/
```
```text Example Rsync upload
rsync -av /uploads/footage_08-17.mp4 editor@sports.rsync.upload.akamai.com::editor/123456/baseball2017/September/
```

> 📘
>
> Ensure that the path included for the destination ends in a trailing slash (“/”).  Otherwise the operation will rename the file. In the example above, if the trailing slash was left out, “footage\_ 08-17.mp4” would be renamed to “September.”

### Download a file with non-secure Rsync

In this example, a single file is targeted for download. Here, the `<src>` variable represents the path to the target file in the storage group, and the `<dest>` is included *last* to specify where on the local system the file is to be downloaded.

```text Command format
rsync <option>  <src> <user@upload_domain_name>::<Username>/<CPCode>/<src> <dest>
```
```text Example Rsync download
rsync -av editor@sports.rsync.upload.akamai.com::editor/123456/baseball2017/September/footage_08-17.mp4 C:/Downloads/Baseball/
```

### View a directory listing with non-secure Rsync

In this example, a single directory is called out to view its contents. Here, a `<src>` variable is not included because a specific file isn't being moved. The `<dest>` variable serves to call out the specific directory to be viewed.

```text Command format
rsync <option> <user@upload_domain_name>::<Username>/<CPCode>/<dest>
```
```text Example Rsync directory listing
rsync -v editor@sports.rsync.upload.akamai.com::editor/123456/baseball2017/
```

### Non-secure Rsync connection syntax

Syntax variable definitions and their use in example commands.

[block:html]
{
  "html": "<table id=><caption></caption><colgroup><col><col></colgroup><thead><tr><th id=>Variable</th><th id=>Description</th></tr></thead><tbody><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">...</span></code></td><td headers=>This indicates that multiple instances of the variable can be used. For example,<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;option&gt;...</span></code><span>&nbsp;</span>indicates that multiple options can be applied).</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;option&gt;</span></code></td><td headers=>This indicates that you can specify at least one command option.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;user@upload_domain_name&gt;</span></code></td><td headers=>This is the Username (\"<strong id=>Id</strong>\") of the upload account that has access to the desired storage group (and in which you have set up an Rsync password), followed by the Upload Domain Name for that storage group. For example, if your upload account<span>&nbsp;</span><strong id=>Id</strong><span>&nbsp;</span>was “editor” and your Domain Name prefix was “sports,” you would look up the correct Upload Domain Name for your storage group, this value would be:<code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">editor@sports.rsync.upload.akamai.com</span></code></p></td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">::&lt;Username&gt;</span></code></td><td headers=>This is a duplicate instance of the upload account<span>&nbsp;</span><strong id=>Id</strong>. Using the example above, you would input<span>&nbsp;</span><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">editor</span></code><span>&nbsp;</span>for this value. This is always preceded by two colons (“<code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">::</span></code>”) as its separator.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;CP Code&gt;</span></code></td><td headers=>This is a Content provider (CP) code that has been provisioned for use with your instance of NetStorage, and has been configured as the root directory in the storage group.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;port&gt;</span></code></td><td headers=>The port number to be used (220). This value is typically left out to use the NetStorage default port.</td></tr><tr><td headers=><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">&lt;dest&gt;</span></code></td><td headers=>This is the complete path to the desired destination for the operation. This value can apply to a directory in your NetStorage storage group (a destination for an upload), or to one on your local system (for a download).</td></tr></tbody></table>"
}
[/block]

***

# Supported Rsync command options

This table shows rsync commands supported with NetStorage. Rsync may offer additional options, but they're not supported.

Rsync accepts both long (double-dash + word “--option”) and short (single-dash + letter “-o”) options, but some options only have a long variant, not a short. If an option can be specified in more than one way, the choices are comma-separated. If the option takes a parameter, the parameter is only listed after the long variant, even though it must also be specified for the short. When specifying a parameter, you can either use the form `--option=<param>` or replace the `=` with a whitespace.

### Support key

**Yes**. The option is supported.\
**No**. The option is not supported.

[block:html]
{
  "html": "<table id=\"\"><caption></caption><colgroup><col><col><col></colgroup><thead><tr><th id=\"\">Option<span>&nbsp;</span></th><th id=\"\">Description</th><th id=\"\">Support</th></tr></thead><tbody><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-v, --verbose</span></code></td><td headers=\"\">increase verbosity</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--info=FLAGS</span></code></td><td headers=\"\">fine-grained informational verbosity</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--debug=FLAGS</span></code></td><td headers=\"\">fine-grained debug verbosity</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--msgs2stderr</span></code></td><td headers=\"\">special output handling for debugging</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-q, --quiet</span></code></td><td headers=\"\">suppress non-error messages</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--no-motd</span></code></td><td headers=\"\">suppress daemon-mode MOTD (see manpage caveat)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-c, --checksum</span></code></td><td headers=\"\">skip based on checksum, not mod-time &amp;amp; size</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-a, --archive</span></code></td><td headers=\"\">archive mode; equals -rlptgoD (no support for -H,,-A,,-X)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--no-OPTION</span></code></td><td headers=\"\">turn off an implied OPTION (e.g. --no-D)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-r, --recursive</span></code></td><td headers=\"\">recurse into directories</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-R, --relative</span></code></td><td headers=\"\">use relative path names</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--no-relative</span></code></td><td headers=\"\">Used to cancel an implied --relative</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--no-implied-dirs</span></code></td><td headers=\"\">don't send implied dirs with --relative</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-b, --backup</span></code></td><td headers=\"\">make backups (see --suffix &amp;amp; --backup-dir)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--backup-dir=DIR</span></code></td><td headers=\"\">make backups into hierarchy based in DIR</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--suffix=SUFFIX</span></code></td><td headers=\"\">set backup suffix (default %s w/o --backup-dir)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-u, --update</span></code></td><td headers=\"\">skip files that are newer on the receiver</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-d, --dirs</span></code></td><td headers=\"\">transfer directories without recursing</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-l, --links</span></code></td><td headers=\"\">copy symlinks as symlinks</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-L, --copy-links</span></code></td><td headers=\"\">transform symlink into referent file/dir</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--copy-unsafe-links</span></code></td><td headers=\"\">only \"unsafe\" symlinks are transformed</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--safe-links</span></code></td><td headers=\"\">ignore symlinks that point outside the source tree</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-k, --copy-dirlinks</span></code></td><td headers=\"\">transform symlink to a dir into referent dir</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-K, --keep-dirlinks</span></code></td><td headers=\"\">treat symlinked dir on receiver as dir</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-p, --perms</span></code></td><td headers=\"\">preserve permissions</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-E, --executability</span></code></td><td headers=\"\">preserve the file's executability</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-o, --owner</span></code></td><td headers=\"\">preserve owner (super-user only)</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-t, --times</span></code></td><td headers=\"\">preserve modification times</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-O, --omit-dir-times</span></code></td><td headers=\"\">omit directories from --times</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-J, --omit-link-times</span></code></td><td headers=\"\">omit symlinks from --times</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-S, --sparse</span></code></td><td headers=\"\">handle sparse files efficiently</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-n, --dry-run</span></code></td><td headers=\"\">perform a trial run with no changes made</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-W, --whole-file</span></code></td><td headers=\"\">copy files whole (without delta-xfer algorithm)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--no-whole-file</span></code></td><td headers=\"\">always use incremental Rsync algorithm</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-x, --one-file-system</span></code></td><td headers=\"\">don't cross filesystem boundaries</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-B, --block-size=SIZE</span></code></td><td headers=\"\">force a fixed checksum block-size</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-e, --rsh=COMMAND</span></code></td><td headers=\"\">specify the remote shell to use</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--rsync-path=PROGRAM</span></code></td><td headers=\"\">specify the Rsync to run on the remote machine</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--existing</span></code></td><td headers=\"\">skip creating new files on receiver</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--ignore-existing</span></code></td><td headers=\"\">skip updating files that already exist on receiver</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--remove-sent-files</span></code></td><td headers=\"\">sender removes files that are sent (non-dirs)</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--remove-source-files</span></code></td><td headers=\"\">sender removes synchronized files if they exist or are copied to remote end (non-dirs)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--del</span></code></td><td headers=\"\">an alias for --delete-during</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete</span></code></td><td headers=\"\">delete extraneous files from destination dirs</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete-before</span></code></td><td headers=\"\">receiver deletes before transfer, not during</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete-during</span></code></td><td headers=\"\">receiver deletes during the transfer</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete-delay</span></code></td><td headers=\"\">find deletions during, delete after</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete-after</span></code></td><td headers=\"\">receiver deletes after transfer, not during</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete-excluded</span></code></td><td headers=\"\">also delete excluded files from destination dirs</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--ignore-missing-args</span></code></td><td headers=\"\">ignore missing source args without error</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--delete-missing-args</span></code></td><td headers=\"\">delete missing source args from destination</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--ignore-errors</span></code></td><td headers=\"\">delete even if there are I/O errors</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--force</span></code></td><td headers=\"\">force deletion of directories even if not empty</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--max-delete=NUM</span></code></td><td headers=\"\">don't delete more than NUM files</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--max-size=SIZE</span></code></td><td headers=\"\">don't transfer any file larger than SIZE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--min-size=SIZE</span></code></td><td headers=\"\">don't transfer any file smaller than SIZE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-m, --prune-empty-dirs</span></code></td><td headers=\"\">prune empty directory chains from the file-list</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--timeout=SECONDS</span></code></td><td headers=\"\">set I/O timeout in seconds</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--contimeout=SECONDS</span></code></td><td headers=\"\">set daemon connection timeout in seconds</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-I, --ignore-times</span></code></td><td headers=\"\">don't skip files that match in size and mod-time</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--size-only</span></code></td><td headers=\"\">skip files that match in size</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-T, --temp-dir=DIR</span></code></td><td headers=\"\">create temporary files in directory DIR</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-y, --fuzzy</span></code></td><td headers=\"\">find similar file for basis if no dest file</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--compare-dest=DIR</span></code></td><td headers=\"\">also compare destination files relative to DIR</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--copy-dest=DIR</span></code></td><td headers=\"\">... and include copies of unchanged files</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--link-dest=DIR</span></code></td><td headers=\"\">hardlink to files in DIR when unchanged</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-z, --compress</span></code></td><td headers=\"\">compress file data during the transfer</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--compress-level=NUM</span></code></td><td headers=\"\">explicitly set compression level</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--skip-compress=LIST</span></code></td><td headers=\"\">skip compressing files with a suffix in LIST</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-C, --cvs-exclude</span></code></td><td headers=\"\">auto-ignore files the same way CVS does</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-f, --filter=RULE</span></code></td><td headers=\"\">add a file-filtering RULE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-F</span></code></td><td headers=\"\">same as --filter='dir-merge /.rsync-filter'</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--exclude=PATTERN</span></code></td><td headers=\"\">exclude files matching PATTERN</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--exclude-from=FILE</span></code></td><td headers=\"\">read exclude patterns from FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--include=PATTERN</span></code></td><td headers=\"\">don't exclude files matching PATTERN</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--include-from=FILE</span></code></td><td headers=\"\">read include patterns from FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--files-from=FILE</span></code></td><td headers=\"\">read list of source-file names from FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-0, --from0</span></code></td><td headers=\"\">all *-from/filter files are delimited by 0s</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--address=ADDRESS</span></code></td><td headers=\"\">bind address for outgoing socket to daemon</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--port=PORT</span></code></td><td headers=\"\">specify double-colon alternate port number</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--sockopts=OPTIONS</span></code></td><td headers=\"\">specify custom TCP options</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--blocking-io</span></code></td><td headers=\"\">use blocking I/O for the remote shell</td><td headers=\"\">No</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--outbuf=N|L|B</span></code></td><td headers=\"\">set output buffering to None, Line, or Block</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--stats</span></code></td><td headers=\"\">give some file-transfer stats</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-8, --8-bit-output</span></code></td><td headers=\"\">leave high-bit chars unescaped in output</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-h, --human-readable</span></code></td><td headers=\"\">output numbers in a human-readable format</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--progress</span></code></td><td headers=\"\">show progress during transfer</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-i, --itemize-changes</span></code></td><td headers=\"\">output a change-summary for all updates</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">-M, --remote-option=OPTION</span></code></td><td headers=\"\">send OPTION to the remote side only</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--out-format=FORMAT</span></code></td><td headers=\"\">output updates using the specified FORMAT</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--log-file=FILE</span></code></td><td headers=\"\">log what we're doing to the specified FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--log-file-format=FMT</span></code></td><td headers=\"\">log updates using the specified FMT</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--password-file=FILE</span></code></td><td headers=\"\">read daemon-access password from FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--list-only</span></code></td><td headers=\"\">list the files instead of copying them</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--bwlimit=RATE</span></code></td><td headers=\"\">limit socket I/O bandwidth</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--write-batch=FILE</span></code></td><td headers=\"\">write a batched update to FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--only-write-batch=FILE</span></code></td><td headers=\"\">like --write-batch but w/o updating destination</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--read-batch=FILE</span></code></td><td headers=\"\">read a batched update from FILE</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--protocol=NUM</span></code></td><td headers=\"\">force an older protocol version to be used</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--checksum-seed=NUM</span></code></td><td headers=\"\">set block/file checksum seed (advanced)</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">--version</span></code></td><td headers=\"\">print version number</td><td headers=\"\">Yes</td></tr><tr><td headers=\"\"><code class=\"rdmd-code lang-\" data-lang name><span class=\"cm-s-neo\">(-h) --help</span></code></td><td headers=\"\">show this help (-h is --help only if used alone)</td><td headers=\"\">Yes</td></tr></tbody></table>\n"
}
[/block]

# Sibling pages

* [Use Aspera Upload Acceleration](https://techdocs.akamai.com/netstorage/docs/use-aspera-upload-acceleration.md)
* [Use File Manager](https://techdocs.akamai.com/netstorage/docs/use-file-manager.md)
* [Use File Transfer Protocol](https://techdocs.akamai.com/netstorage/docs/use-file-transfer-protocol.md)
* [Use Rclone](https://techdocs.akamai.com/netstorage/docs/use-rclone.md)
* [Use Secure Copy](https://techdocs.akamai.com/netstorage/docs/use-secure-copy.md)
* [Use SSH File Transfer Protocol (SFTP)](https://techdocs.akamai.com/netstorage/docs/use-sftp.md)
* [Use the Content Management Shell (CMShell)](https://techdocs.akamai.com/netstorage/docs/use-the-content-management-shell.md)