It is very easy for me to forget this command option, and it always take me some time to get it right when I try to copy a directory from one of my website to another website.
And I found out it is always easier when I come into the destination directory and run the cp command.
So to be summarized, I put this command with option here to make me to REMEMBER: how to easily copy a directory from one folder to another folder in Apache/Linux server.
cp -R ~/source-directory-name .
Here ~/source-directory-name is whatever you want to copy from, and please do not forget the period . at the end which is your current directory (A.K.A, your copy-to destination directory).
Tags: command, Linux
Very informative article, which I found quite useful. Cheers ,Jay
[Reply]
thanks! it is very useful for me too….
[Reply]
Thanks it is so esy to copy folder to folder
[Reply]
I usually submit 300 word articles on article directories to help me gain backlinks and readers.~~-
[Reply]
We offer the highest quality replica watches from all major designer brands. http://www.classonewatches.com/
thanks to you
[Reply]