None
EN
Linux cp Command: My Most-Used Flags and Arguments
['Zunaid Ali']
How-To Geek
The cp command on Linux has some cool options that extend its usage.
-r or -R: Recursive CopyYou can use the cp command for copying both files and directories.
cp -r dirA/ dir-copy # copying the directory and renaming it-u: Copy Only When Source Is NewerOne of the most underrated flags for the cp command is -u.
-p: Preserve AttributesBy default, the cp command focuses on getting the content of your files from point A to point B.
There are many more flags and arguments for the cp command.