Add sentence regarding recursive difference between scp and cp.

Submitted by:	bjk
Sponsored by:	iXsystems
This commit is contained in:
Dru Lavigne 2014-04-11 14:00:48 +00:00
parent dfaeaa8084
commit b977a0f818
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44530

View file

@ -2538,7 +2538,10 @@ COPYRIGHT 100% |*****************************| 4735
first argument and the destination to copy to is the second.
Since the file is fetched over the network, one or more of the
file arguments takes the form
<option>user@host:&lt;path_to_remote_file&gt;</option>.</para>
<option>user@host:&lt;path_to_remote_file&gt;</option>. Be
aware when copying directories recursively that
<command>scp</command> uses <option>-r</option>, whereas
<command>cp</command> uses <option>-R</option>.</para>
<para>To open an interactive session for copying files, use
<command>sftp</command>. Refer to &man.sftp.1; for a list of