Moving or copying a directory into multiple directories
Hi,
I am just begging to use linux. I am trying to copy or move a directory into multiple directories. the directory is CD the destination directory is doc_roots (in the directory are multiple directories that need directory CD) I am lost. Can someone please help. Thank you, William |
Are you trying to copy a directory that contains subdirectories? If so use cp -r e.g.
Code:
$cp -r /mnt/cdrom/docs/ /var/htdocs/doc_roots/ |
Hi.
I am trying to copy a directory that contains files in a main directory with sub-directories. William the directory I need put into all of the sub directories in doc_roots is rssgm, not CD sorry. Thank you for your help. |
The commands above should work. All you need to do is change the paths so that they match the ones on your system. In the example above docs would be the main directory and doc_roots would be the destination directory.
|
All times are GMT -5. The time now is 05:30 AM. |