what does it mean to copy directory's recursivly?
when using "cp" command what does it mean to copy directories recursivly? Also It apears to goto a link and copy everything in that link, which then it does it infinitly because the link can be found inside itself. I don't want to do that I just want the contents of a directory copied and no links. How may I do that?
Thank you! |
To copy recursively means that all files within a directory will be copied, and then all files within subdirectories of that directory, and so on. If you don't want cp to follow links, then add the -d flag (do not follow symbolic links). Enter cp --help for more on this.
Rob. |
What about deleting directories? rm also has the recursive thing. If you use it or not shouldn't it delete subdirectories?
|
Quote:
Rob |
All times are GMT -5. The time now is 12:49 AM. |