| ascp: Transferring from the Command Line with Ascp |
110
Preserve Access Control Lists (ACL) data for macOS, Windows, and AIX files. To preserve ACL
data for other operating systems, use
--preserve-xattrs
. See also
--remote-preserve-
acls
. Default:
none
.
•
native
- Preserve attributes using the native capabilities of the file system. This mode is only
supported for Windows, macOS, and AIX. If the destination and source do not support the same
native ACL format,
async
reports and error and exits.
•
metafile
- Preserve file attributes in a separate file, named
filename
.aspera-
meta
. For example, attributes for
readme.txt
are preserved in a second file named
readme.txt.aspera-meta
. These metafiles are platform independent and can be copied
between hosts without loss of information. This mode is supported on all file systems.
•
none
- Do not preserve attributes. This mode is supported on all file systems.
Important Usage Information:
• ACLs are not preserved for directories.
• Both
--preserve-acls
and
--remote-preserve-acls
must be specified in order for
the target side of a pull (Ascp with
--mode=recv
) to apply the ACLs.
• Very old versions of
ascp
do not support values other than
none
, and transfers using
native
or
metafile
fail with an error that reports incompatible FASP protocol versions.
--preserve-creation-time
(Windows only) Preserve source-file creation timestamps at the destination. Only Windows systems
retain information about creation time. If the destination is not a Windows computer, this option is
ignored.
--preserve-file-owner-gid
,
--preserve-file-owner-uid
(Linux, UNIX, and macOS only) Preserve the group information (
gid
) or owner information (
uid
)
of the transferred files. These options require the transfer user to be authenticated as a superuser.
--preserve-modification-time
Set the modification time, the last time a file or directory was modified (written), of a transferred
file to the modification of the source file or directory. Preserve source-file modification timestamps
at the destination.
On Windows, modification time may be affected when the system automatically adjusts
for Daylight Savings Time (DST). For details, see the Microsoft KB article,
support.microsoft.com/kb/129574
.
--preserve-source-access-time
Preserve the access times of the original sources to the last access times prior to transfer. This
prevents access times at the source from being updated by the transfer operation. Typically used in
conjunction with the
--preserve-access-time
option.
--preserve-xattrs={native|metafile|none}
Preserve extended file attributes data (xattr). Default:
none
. See also
--remote-preserve-
xattrs
.
•
native
- Preserve attributes using the native capabilities of the file system. This mode is
supported only on macOS and Linux. If the destination and source do not support the same
native xattr format,
async
reports and error and exits. If the Linux user is not root, some
attributes such as system group might not be preserved.
•
metafile
- Preserve file attributes in a separate file, named
filename
.aspera-
meta
. For example, attributes for
readme.txt
are preserved in a second file named
readme.txt.aspera-meta
. These metafiles are platform independent and can be copied
between hosts without loss of information. This mode is supported on all file systems.
•
none
- Do not preserve attributes. This mode is supported on all file systems.
Important Usage Information: