Results 1 to 5 of 5
Hello again!
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-24-2010 #1
[SOLVED] Terminal Questions "cp"
Hello again!
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.
I was trying to copy "copy_practice from my "~" to "Movies" but I encounter this error message that I do not understand. Thanks!Code:[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
- 02-24-2010 #2
Use -R or -r option with cp to copy recursively. It will copy all the contents in Directory and its sub-directories.
Code:cp -R copy_practice /media/"Storage Bin (A)"/Entertainment/Movies
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-24-2010 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
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:
Check out LinuxCommand.org for some quick and easy command line lessons:Code:man cp
LinuxCommand.org: Learn the Linux command line. Write shell scripts.oz
- 02-24-2010 #4
- 02-24-2010 #5




