As well:

bgd@web$ mkdir temp
bgd@web$ touch temp/a
bgd@web$ mkdir temp2
bgd@web$ cp -R temp/ temp2/
bgd@web$ ls -al temp2/
total 3
drwxr-xr-x   2 bgd  wheel   512 Apr 10 17:20 .
drwxr-xr-x  14 bgd  wheel  2048 Apr 10 17:20 ..
-rw-r--r--   1 bgd  wheel     0 Apr 10 17:20 a

 If ending a symlink with a slash is supposed to mean 'refer to the
directory it points to', I imagine ending a directory with a slash is even
more so. Then why, oh, why, 'cp -R' copies only the content of the
directory in the new location????

 man cp:

 -R    If source_file designates a directory, cp copies the directory and
       the entire subtree connected at that point.

 Why do I have the feeling something goes terribly wrong here?

 bogdan





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to