← 返回命令列表

Linux command

gvfs-info 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Show file information

gvfs-info [file]

Show remote file info

gvfs-info smb://server/share/file

Show specific attribute

gvfs-info -a [standard::size] [file]

Show filesystem info

gvfs-info -f [file]

说明

gvfs-info displays file information using GVFS. It shows attributes like size, type, permissions, and custom metadata for local and remote files. The tool accesses files through GVFS backends, providing unified information across different protocols like SMB, FTP, and local filesystems.

参数

-a, --attributes _ATTR_
Show specific attributes.
-f, --filesystem
Show filesystem info.
-n, --nofollow-symlinks
Don't follow symlinks.
-w, --query-writable
Show writable attributes.
--help
Display help information.

FAQ

What is the gvfs-info command used for?

gvfs-info displays file information using GVFS. It shows attributes like size, type, permissions, and custom metadata for local and remote files. The tool accesses files through GVFS backends, providing unified information across different protocols like SMB, FTP, and local filesystems.

How do I run a basic gvfs-info example?

Run `gvfs-info [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a, --attributes _ATTR_ do in gvfs-info?

Show specific attributes.