scp command to copy file to a new folder code example Example: scp copy file command line scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2