LinuxCommandLibrary

gvfs-ls

lists directory contents using GVFS

TLDR

List directory

$ gvfs-ls [directory]
copy
List remote directory
$ gvfs-ls smb://server/share/
copy
Show hidden files
$ gvfs-ls -h [directory]
copy
Long listing format
$ gvfs-ls -l [directory]
copy
Show specific attributes
$ gvfs-ls -a [standard::name,standard::size] [directory]
copy

SYNOPSIS

gvfs-ls [options] location

DESCRIPTION

gvfs-ls lists directory contents using GVFS. It works with local directories and remote URIs, providing consistent listing across backends.
The tool shows file names and optionally detailed attributes. It supports network protocols like SMB, FTP, SSH, and WebDAV.

PARAMETERS

LOCATION

Directory path or URI.
-h, --hidden
Show hidden files.
-l, --long
Long listing format.
-a, --attributes ATTR
Show specific attributes.
-n, --nofollow-symlinks
Don't follow symlinks.
--help
Display help information.

CAVEATS

Deprecated in favor of gio list. GNOME dependencies. Requires running GVFS daemon.

HISTORY

gvfs-ls was developed as part of GVFS for GNOME, now largely replaced by the gio command.

SEE ALSO

gio(1), ls(1), gvfs-info(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community