Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
[SOLVED] Terminal Questions "cp"
I was practicing to copy files from one place to another and am encountering something that I do not understand, I hope you can enlighten me on this please.
[jun@localhost ~]$ mkdir copy_practice [jun@localhost ~]$ ls copy_practice docs Download dwhelper Pictures Templates vobcopy Desktop Documents dvdrip-data Music Public Videos [jun@localhost ~]$ cp copy_practice /media/Storage\ Bin\ \(\A\)/Entertainment/Movies cp: omitting directory `copy_practice' [jun@localhost ~]$ cp copy_practice /media/"Storage Bin (A)"/Entertainment/Movies cp: omitting directory `copy_practice' [jun@localhost ~]$nujinini
Linux User #489667
Use -R or -r option with cp to copy recursively. It will copy all the contents in Directory and its sub-directories.
cp -R copy_practice /media/"Storage Bin (A)"/Entertainment/Movies
- Join Date
- May 2004
- arch linux
You can read up on the -R option as described above by Devils Casper along with other options for the cp command by going to a terminal and running:
LinuxCommand.org: Learn the Linux command line. Write shell scripts.oz