Skip to content

Commit

Permalink
Merge branch 'gh-pages' into filezilla
Browse files Browse the repository at this point in the history
  • Loading branch information
cdkharris authored Jul 25, 2024
2 parents c3b35c1 + 61c0cb3 commit 14cd11e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _episodes/16-transferring-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ If your home directory _is_ the destination, you can leave the destination
field blank, or type `~` -- the shorthand for your home directory -- for
completeness.

With `scp`, a trailing slash on the target directory is optional, and has
no effect. It is important for other commands, like `rsync`.
With `scp`, a trailing slash on the target directory is optional, and has no effect.
A trailing slash on a source directory is important for other commands, like `rsync`.

> ## A Note on `rsync`
>
Expand Down Expand Up @@ -375,10 +375,10 @@ no effect. It is important for other commands, like `rsync`.
> {: .language-bash}
>
> As written, this will place the local directory and its contents under your
> home directory on the remote system. If the trailing slash is omitted on
> the destination, a new directory corresponding to the transferred directory
> will not be created, and the contents of the source
> directory will be copied directly into the destination directory.
> home directory on the remote system. If a trailing slash is added to the
> source, a new directory corresponding to the transferred directory
> will not be created, and the contents of the source directory will be
> copied directly into the destination directory.
>
> To download a file, we simply change the source and destination:
>
Expand Down

0 comments on commit 14cd11e

Please sign in to comment.