Skip to content

Commit

Permalink
Merge pull request #281 from PermanentOrg/add-inplace-to-readme
Browse files Browse the repository at this point in the history
Add `--inplace` flag instructions to README
  • Loading branch information
meisekimiu authored Oct 18, 2023
2 parents 84c8b0f + b971e2d commit 395dddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ See [rclone.org/commands/rclone_copy](https://rclone.org/commands/rclone_copy/)

#### Uploading to Permanent:

To send data to Permanent, just reverse the order of operands: your local file tree is now the source and Permanent is the destination. You'll also need to add the `--size-only` and `--sftp-set-modtime=false` flags (currently necessary because of [issue #80](https://github.com/PermanentOrg/sftp-service/issues/80)). Here's an example command:
To send data to Permanent, just reverse the order of operands: your local file tree is now the source and Permanent is the destination. You'll also need to add the `--size-only` and `--sftp-set-modtime=false` flags (currently necessary because of [issue #80](https://github.com/PermanentOrg/sftp-service/issues/80)). On the newest versions of rclone, you will also have to pass in the `--inplace` flag to upload properly (this is related to [issue #164](https://github.com/PermanentOrg/sftp-service/issues/164)). Here's an example command:

```
rclone copy -v -P --create-empty-src-dirs --size-only --sftp-set-modtime=false ./some-archive "permanent-prod:/archives/Some Archive (12345)/My Files/"
rclone copy -v -P --create-empty-src-dirs --inplace --size-only --sftp-set-modtime=false ./some-archive "permanent-prod:/archives/Some Archive (12345)/My Files/"
```

### Troubleshooting rclone
Expand Down

0 comments on commit 395dddf

Please sign in to comment.