How do I copy a selected file in Linux?

Ngoc Hue

New member
How do I copy a selected file in Linux?
Answer
Method 1 – Copy specific file types while preserving directory structure using “find” and “cp” or “cpio” commands
  1. find – command to find files and folders in Unix-like systems.
  2. the dot (.) …
  3. -iname ‘*. …
  4. -exec cp – execute the ‘cp’ command to copy files from source to destination directory.
19 мар. 2020 г.
 

Tìm kiếm

Back
Top