Javatpoint Logo
Javatpoint Logo

Linux Copy multiple files or directories

Multiple files or directories can be copied to a destination directory at once. In this case, target must be a directory. To copy multiple files you can use wildcards (cp *.extension) having same pattern.



Linux copy multiple files

In above example, we have copied files (file1, file2, file3) having same extension '.txt' to Documents directory.

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA