The cp
command is a powerful tool for copying files and directories in Linux. It supports various options, including the -a
(archive) option, commonly used to preserve file attributes, symbolic links, and timestamps during recursive copying. However, this option is not universally available on all Unix-like systems, such as AIX.
To address the issue:
For more advanced use cases and examples of the cp
command in Linux, refer to the Vultr documentation linked above.
------------------------------
Ritik Raj
------------------------------
Original Message:
Sent: Tue April 23, 2024 03:02 PM
From: Jim Rinn
Subject: cp command -a option
Installing on AIX from MetaCpan I've run into a module that uses the cp command with the -a option. Linux manpage says it is an archive option. AIX does not appear to support the -a option.
Is there a open version of cp in the toolbox that supports this option?
Thanks for you assistance.
------------------------------
Jim Rinn
------------------------------