Skip to content
Published On:
Jan 13, 2017
Last Updated:
Jan 13, 2017

If you want to move or rename files (instead of copying), please checkout the mv command.

Copying A Single File

This is the simplest cp procedure:

Terminal window
$ cp ~/original_file.txt ~/copied_file.txt

Coping Multiple, Specific Files To A Directory

This can be done with the syntax:

Terminal window
$ cp ~/{file1,file2,file3,file4} ~/destination_folder/

Note that there must be no spaces between the comma-separated files.