Changeset View
Changeset View
Standalone View
Standalone View
bin/cp/cp.1
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
.It Fl R | .It Fl R | ||||
If | If | ||||
.Ar source_file | .Ar source_file | ||||
designates a directory, | designates a directory, | ||||
.Nm | .Nm | ||||
copies the directory and the entire subtree connected at that point. | copies the directory and the entire subtree connected at that point. | ||||
If the | If the | ||||
.Ar source_file | .Ar source_file | ||||
ends in a | ends in | ||||
.Pa / , | .Pa /. , | ||||
the contents of the directory are copied rather than the | the contents of the directory are copied rather than the | ||||
directory itself. | directory itself. | ||||
This option also causes symbolic links to be copied, rather than | This option also causes symbolic links to be copied, rather than | ||||
indirected through, and for | indirected through, and for | ||||
.Nm | .Nm | ||||
to create special files rather than copying them as normal files. | to create special files rather than copying them as normal files. | ||||
Created directories have the same mode as the corresponding source | Created directories have the same mode as the corresponding source | ||||
directory, unmodified by the process' umask. | directory, unmodified by the process' umask. | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |