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
More like this
- How to change your mysql root password using command line
- Testing email from the command line on GNU-Linux
- See list of MySQL databases via GNU Linux shell command line
- Shell commands for untarring (and deleting the archive) a bunch of gzip files
- Upping memory command line PHP memory limits so you can use Drush


Comments
Post new comment