Home ›
How to copy files using the command lineHow to copy files using the command line
Submitted by Benjamin Melançon on September 26, 2007 - 6:33pm
Copying files or directories with the GNU-Linux command line.
Resolution
When you're copying something with cp you list the file (or directory) you are copying first and the file (or directory) you are creating second.
cp -r existing_directory new_copy_of_existing_directory
Comments
Post new comment