diff --git a/pages/common/cp.md b/pages/common/cp.md index 2fb17d1881..9b4388ed94 100644 --- a/pages/common/cp.md +++ b/pages/common/cp.md @@ -26,3 +26,7 @@ - Follow symbolic links before copying: `cp -L {{link}} {{path/to/target_directory}}` + +- Use the first argument as the destination directory (useful for `xargs ... | cp -t `): + +`cp -t {{path/to/target_directory}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`