cmd/gio/save
Jump to navigation
Jump to search
- Command: gio save [<OPTION>...] <DESTINATION>
- Action: Reads from standard input and saves the data to the given location.
About
This is similar to just redirecting output to a file using traditional shell syntax, but the save command allows saving to location that GIO can write to.
Options
| short | long | description |
|---|---|---|
| -b | --backup | Back up existing destination files. |
| -c | --create | Only create the destination if it doesn’t exist yet. |
| -a | --append | Append to the end of the file. |
| -p | --private | When creating, restrict access to the current user. |
| -u | --unlink | When replacing, replace as if the destination did not exist. |
| -v | --print-etag | Print the new ETag in the end. |
| -e | --etag=<ETAG> | The ETag of the file that is overwritten. |