[CLUE-Tech] The cp command
Cyberclops
Cyberclops at hawaii.rr.com
Sat Apr 14 19:17:31 MDT 2001
Live and learn. I found you have to "cd" to the directory and then
execute the command.
Franly this is in an example were a GUI just blows away an command line.
cy at a24b161n139client142:~ > cp /home/cy/KDesktop/filetest
/homecy/KDektop/filetestnew
cp: cannot create regular file `/homecy/KDektop/filetestnew': No such
file or directory
cy at a24b161n139client142:~ > cd /home/cy/KDesktop
cy at a24b161n139client142:~/KDesktop > copy filetest filetestnew
Error: Try the command: cp -piv filetest filetestnew
cy at a24b161n139client142:~/KDesktop > cp -piv filetest filetestnew
`filetest' -> `filetestnew'
cy at a24b161n139client142:~/KDesktop >
Kevin Cullis wrote:
>
> Hi,
>
> I'd like to copy a file into all recursive directories below the current
> directory, I've tried using:
>
> cp -R filename
>
> but it didn't work. Any suggestions?
>
> Kevin
>
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
More information about the clue-tech
mailing list