cmd/gio/save

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< cmd‎ | gio
Revision as of 23:23, 2 January 2024 by Woozle (talk | contribs) (Created page with "* '''Command''': {{l/cmd|gio}} save [{{arg|OPTION}}...] {{arg|DESTINATION}} * '''Action''': Reads from standard input and saves the data to the given location. ==About== This...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.