gvfs-save.1 revision 13285
12787N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
12787N/A<!--ArborText, Inc., 1988-1999, v.4002-->
12787N/A<!ENTITY cmd "gvfs-save">
12787N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
12787N/A%commonents;
12787N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
12787N/A%booktitles;
12787N/A<!ENTITY suncopy "Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.">
12787N/A]>
12787N/A<?Pub UDT _bookmark _target>
12787N/A<?Pub Inc>
12787N/A<refentry id="gvfs-save-1">
12787N/A<!-- %Z%%M% %I% %E% SMI; -->
12787N/A<refmeta>
12787N/A <refentrytitle>gvfs-save</refentrytitle><manvolnum>1</manvolnum>
12787N/A <refmiscinfo class="date">25 Mar 2008</refmiscinfo>
12787N/A <refmiscinfo class="sectdesc">&man1;</refmiscinfo>
12787N/A <refmiscinfo class="software">&release;</refmiscinfo>
12787N/A <refmiscinfo class="arch">generic</refmiscinfo>
12787N/A <refmiscinfo class="copyright">&suncopy;</refmiscinfo>
12787N/A</refmeta>
12787N/A
12787N/A<indexterm><primary>gvfs-save</primary></indexterm>
12787N/A<indexterm><primary>save information to a file using the VFS system</primary></indexterm>
12787N/A<refnamediv id="gvfs-save-1-name"><refname>gvfs-save</refname>
12787N/A<refpurpose>save information to a file using the VFS system</refpurpose></refnamediv>
12787N/A
12787N/A<refsynopsisdiv id="gvfs-save-1-synp"><title>&synp-tt;</title>
12787N/A <cmdsynopsis>
12787N/A <command>&cmd;</command>
12787N/A <arg choice="opt"><option>b</option></arg>
12787N/A <arg choice="opt"><option>c</option></arg>
12787N/A <arg choice="opt"><option>a</option></arg>
12787N/A <arg choice="opt"><option>p</option></arg>
12787N/A <arg choice="opt"><option>v</option></arg>
12787N/A <arg choice="opt"><option>e</option></arg>
12787N/A <arg choice="plain"><option role="nodash"><replaceable>URI</replaceable></option></arg>
12787N/A </cmdsynopsis>
12787N/A</refsynopsisdiv>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-desc"><title>&desc-tt;</title>
12787N/A <para>
12787N/A<command>&cmd;</command> saves information to a file using the VFS system.
12787N/A </para>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-opts"><title>&opts-tt;</title>
12787N/A <para>The following options are supported:</para>
12787N/A <variablelist termlength="xtranarrow">
12787N/A <varlistentry>
12787N/A <term><option>b</option></term>
12787N/A <listitem><para>Create backup</para></listitem>
12787N/A </varlistentry>
12787N/A <varlistentry>
12787N/A <term><option>c</option></term>
12787N/A <listitem><para>Only create if not existing</para></listitem>
12787N/A </varlistentry>
12787N/A <varlistentry>
12787N/A <term><option>a</option></term>
12787N/A <listitem><para>Append to end of the file</para></listitem>
12787N/A </varlistentry>
12787N/A <varlistentry>
12787N/A <term><option>p</option></term>
12787N/A <listitem><para>When creating a file, restrict access to the current user only</para></listitem>
12787N/A </varlistentry>
12787N/A <varlistentry>
12787N/A <term><option>v</option></term>
12787N/A <listitem><para>Print etag that the end</para></listitem>
12787N/A </varlistentry>
12787N/A <varlistentry>
12787N/A <term><option>e</option></term>
12787N/A <listitem><para>The etag of the file being overwritting</para></listitem>
12787N/A </varlistentry>
12787N/A </variablelist>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-exam"><title>&exam-tt;</title>
12787N/A <example role="example">
12787N/A <title>Append a string to the end of a local file</title>
12787N/A <para><screen>example% echo "hello" | <userinput>&cmd; <literal>file:///tmp/example</literal></userinput></screen></para>
12787N/A </example>
12787N/A <example role="example">
12787N/A <title>Append a file to a remote file storing a backup</title>
12787N/A <para><screen>example% gvfs-cat file:///tmp/file | <userinput>&cmd; <literal>-b</literal> <literal>smb://server/dir/file</literal></userinput></screen></para>
12787N/A </example>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-envr"><title>&envr-tt;</title>
12787N/A <para>See
12787N/A<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>
12787N/Afor descriptions of the following environment variables: NLSPATH.
12787N/A </para>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-exit"><title>&exit-tt;</title>
12787N/A <para>The exit value 0 is returned regardless of success or failure.</para>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-file"><title>&file-tt;</title>
12787N/A <para>The following files are used by this application:</para>
12787N/A <variablelist termlength="medium">
12787N/A <varlistentry><term><filename>/usr/bin/&cmd;</filename></term><listitem>
12787N/A <para>Executable to save information to a file using the VFS system</para>
12787N/A </listitem></varlistentry>
12787N/A </variablelist>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-attr"><title>&attr-tt;</title>
12787N/A <para>
12787N/ASee <olink targetdocent="REFMAN5" localinfo="attributes-5">
12787N/A<citerefentry>
12787N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum>
12787N/A</citerefentry></olink>
12787N/Afor descriptions of the following attributes:
12787N/A </para>
12787N/A <informaltable frame="all">
12787N/A <tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
12787N/A <colspec colname="COLSPEC1" colwidth="1*">
12787N/A <thead>
12787N/A <row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center" valign="middle">ATTRIBUTE VALUE</entry></row>
12787N/A </thead>
12787N/A <tbody>
12787N/A <row>
12787N/A <entry><para>Availability</para></entry><entry>SUNWgnome-gvfs<para></para></entry>
12787N/A </row>
12787N/A <row>
12787N/A <entry colname="COLSPEC0"><para>Interface stability</para></entry>
12787N/A <entry colname="COLSPEC1"><para>Volatile</para></entry>
12787N/A </row>
12787N/A </tbody>
12787N/A </tgroup>
12787N/A </informaltable>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-also"><title>&also-tt;</title>
12787N/A<!--Reference to another man page-->
12787N/A<!--Reference to a Help manual-->
12787N/A<!--Reference to a book.-->
12787N/A<para>
12787N/A<citerefentry><refentrytitle>gvfs-copy</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-cat</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-less</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-ls</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-mkdir</refentrytitle><manvolnum>1</manvolnum></citerefentry>
12787N/A<citerefentry><refentrytitle>gvfs-monitor-dir</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-monitor-file</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-mount</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-move</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
13285N/A<citerefentry><refentrytitle>gvfs-rename</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-open</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-rm</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-info</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-trash</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>gvfs-tree</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
12787N/A<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>
12787N/A</para>
12787N/A</refsect1>
12787N/A
12787N/A<refsect1 id="gvfs-save-1-note"><title>&note-tt;</title>
12787N/A<para>Written by Alvaro Lopez Ortega, Sun Microsystems Inc., 2008.</para>
12787N/A</refsect1>
12787N/A
12787N/A</refentry>
12787N/A<?Pub *0000004990>