'\" t .\" Title: gvfs-save .\" Author: Alexander Larsson .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 11/30/2014 .\" Manual: User Commands .\" Source: gvfs .\" Language: English .\" .TH "GVFS\-SAVE" "1" "" "gvfs" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gvfs-save \- Save standard input .SH "SYNOPSIS" .HP \w'\fBgvfs\-save\ \fR\fB[OPTION...]\fR\fB\ \fR\fB{DEST}\fR\ 'u \fBgvfs\-save \fR\fB[OPTION...]\fR\fB \fR\fB{DEST}\fR .SH "DESCRIPTION" .PP \fBgvfs\-save\fR reads from the standard input and saves the data to the given location\&. .PP This is similar to just redirecting output to a file using traditional shell syntax, but \fBgvfs\-save\fR allows using gvfs locations instead of local files: for example you can use something like smb://server/resource/file\&.txt as location\&. .SH "OPTIONS" .PP The following options are understood: .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 Prints a short help text and exits\&. .RE .PP \fB\-\-version\fR .RS 4 Shows the version number and exits\&. .RE .PP \fB\-b\fR, \fB\-\-backup\fR .RS 4 If the destination file already exists, save a backup\&. .RE .PP \fB\-c\fR, \fB\-\-create\fR .RS 4 Only create the destination file if it does not exist yet\&. .RE .PP \fB\-a\fR, \fB\-\-append\fR .RS 4 Append to the end of the destination file, if it already exists\&. .RE .PP \fB\-p\fR, \fB\-\-private\fR .RS 4 When creating a new file, restrict access to the current user only\&. .RE .PP \fB\-u\fR, \fB\-\-unlink\fR .RS 4 When replacing an existing file, replace the destination as if it does not exist\&. Think of it as unlinking the destination before writing\&. .RE .PP \fB\-v\fR, \fB\-\-print\-etag\fR .RS 4 Print the new etag at the end\&. .RE .PP \fB\-e\fR, \fB\-\-etag=ETAG\fR .RS 4 The etag of the file being overwritten\&. .RE .SH "EXIT STATUS" .PP On success 0 is returned, a non\-zero failure code otherwise\&.