gio info file.txt

Category: Administration

gio info file.txt

Show metadata about a file

gio info prints attributes such as size, type, permissions, and modification time, plus trash status for trashed files. It reads the same GVfs metadata layer the file manager uses. Add -a with attribute names to filter the output.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.