gnomevfs-copy.1 revision 11904
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--ArborText, Inc., 1988-1999, v.4002-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!-- %Z%%M% %I% %E% SMI; -->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refmeta><refentrytitle>gnomevfs-copy</refentrytitle><manvolnum>1</manvolnum>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refmiscinfo class="date">6 Sep 2004</refmiscinfo>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refmiscinfo class="software">&release;</refmiscinfo>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<indexterm><primary>gnomevfs-copy</primary></indexterm><indexterm><primary>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecopy a file from one VFS location to another</primary></indexterm>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refnamediv id="gnomevfs-copy-1-name"><refname>gnomevfs-copy</refname><refpurpose>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecopy a file from one VFS location to another</refpurpose></refnamediv>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsynopsisdiv id="gnomevfs-copy-1-synp"><title>&synp-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<arg choice="plain"><option role="nodash"><replaceable>source-URI</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<arg choice="plain"><option role="nodash"><replaceable>destination-URI</replaceable></option></arg>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-desc"><title>&desc-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para><command>&cmd;</command> copies a file from one URI location to another,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweusing the virtual file system.</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-oper"><title>&oper-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para>The following operands are supported:</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<varlistentry><term><option role="nodash"><replaceable>source-URI</replaceable></option></term>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<listitem><para>Specifies the source file location in standard URI format.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<varlistentry><term><option role="nodash"><replaceable>destination-URI</replaceable></option></term>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<listitem><para>Specifies the destination file or directory location in standard
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweURI format.</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-exam"><title>&exam-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<title>Copying a File From a Web Server to a Local File</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para><screen>example% <userinput>&cmd; http://www.sun.com file:///home/user/index.html
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-envr"><title>&envr-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para>See <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe5</manvolnum></citerefentry> for descriptions of the following environment
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowevariables: NLSPATH.</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-exit"><title>&exit-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para>The exit value 0 is returned regardless of success or failure.</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-file"><title>&file-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para>The following files are used by this application:</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<varlistentry><term><filename>/usr/bin/&cmd;</filename></term><listitem><para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweExecutable to copy a file from one VFS location to another</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-attr"><title>&attr-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowefor descriptions of the following attributes:</para>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<row><entry><para>Availability</para></entry><entry><para>SUNWgnome-vfs
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecolname="COLSPEC1"><para>Volatile</para></entry></row>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe</informaltable>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-also"><title>&also-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--Reference to another man page-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--Reference to a Help manual-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<!--Reference to a book.-->
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<citerefentry><refentrytitle>gnomevfs-cat</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<citerefentry><refentrytitle>gnomevfs-info</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<citerefentry><refentrytitle>gnomevfs-ls</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<citerefentry><refentrytitle>gnomevfs-mkdir</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<refsect1 id="gnomevfs-copy-1-note"><title>¬e-tt;</title>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe<para>Written by Stephen Browne, Sun Microsystems Inc., 2004.</para>