From ffc27d0f8e7a216eac63d6c62a1eb581a1d79057 Mon Sep 17 00:00:00 2001 From: TAKE72K <33437633+TAKE72K@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:21:42 +0800 Subject: [PATCH] cp: replace ambiguous text (#12080) * cp: replace ambiguous text cp -i: text files -> file, more general. --------- Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com> --- pages/linux/cp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/cp.md b/pages/linux/cp.md index ccb722da7..0346d0863 100644 --- a/pages/linux/cp.md +++ b/pages/linux/cp.md @@ -23,9 +23,9 @@ `cp -t {{path/to/destination_directory}} {{path/to/file1 path/to/file2 ...}}` -- Copy text files to another location, in interactive mode (prompts user before overwriting): +- Copy all files with a specific extension to another location, in interactive mode (prompts user before overwriting): -`cp -i {{*.txt}} {{path/to/target_directory}}` +`cp -i {{*.ext}} {{path/to/target_directory}}` - Follow symbolic links before copying: