15.8. GVFS Tools and xdg-utils in GNOME
GVFSships with several commands that may come useful for scripting or testing. A set of POSIX commands counterparts is offered:
FUSEdaemon to be running. Their purpose is not to be drop-in replacements for POSIX commands, in fact, a very little range of switches is supported. In their basic form, an URI string (instead of a local path) is taken as an argument.
xdg-tools(a freedesktop.org interoperability project). For example, the commonly used
gvfs-openwhen a running GNOME session is detected, reading file type associations from the correct location.
- To lists all files in
/tmpon a local file system, execute:
- The command below lists contents of a text file from a remote machine:
- To copy the referenced text file to a local
gvfs-copy ssh://firstname.lastname@example.org/home/joe/todo.txt /tmp/
bashcompletion is provided as a part of the package.