QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Copying a tree structure (copying a directory + subdirectories) |
Ref. No. |
QNX.000006048 |
Category(ies) |
Filesystem |
Issue |
How can you make a complete copy of a directory and its subdirectories?
|
Solution |
E.g.
Directory wanted to copy: "My_Downloads" Location: /home/bob/My_Downloads/
1. cd /home/bob/ 2. cp -c -R My_Downloads /[dest_directory]
* Fill in [dest_directory] with the location for the new directory.
|
|