Skip to content

Commit

Permalink
Update docs on how to pipe output when using progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
wykurz committed Oct 11, 2024
1 parent 9f0eb2a commit 807d0c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ Roughly equivalent to `cp -R --update=none <foo> <bar>`.
```
Roughly equivalent to: `cp -pR <foo> <bar>`.

### log tool output to a file while using progress bar
Progress bar is sent to `stderr` while log messages go to `stdout`. This allows us to pipe `stdout` to a file to preserve the tool output while still viewing the interactive progress bar. This works for all RCP tools.
```fish
> rcp <foo> <bar> --progress --summary > copy.log
```

### remove a path:
```fish
> rrm <bar> --progress --summary
Expand Down

0 comments on commit 807d0c2

Please sign in to comment.