https://github.com/tklauser/statx
Report file status using the Linux statx(2) syscall
https://github.com/tklauser/statx
golang linux statx syscall
Last synced: 11 months ago
JSON representation
Report file status using the Linux statx(2) syscall
- Host: GitHub
- URL: https://github.com/tklauser/statx
- Owner: tklauser
- License: bsd-3-clause
- Created: 2018-01-12T09:02:31.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T21:39:01.000Z (about 3 years ago)
- Last Synced: 2025-03-24T12:39:36.359Z (12 months ago)
- Topics: golang, linux, statx, syscall
- Language: Go
- Size: 8.79 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# statx
statx reports file status using the Linux
[statx(2)](http://man7.org/linux/man-pages/man2/statx.2.html) syscall.
The output format of statx is implemented as close as possible to the output of
[stat(1)](http://www.gnu.org/software/coreutils/stat) from GNU coreutils.
Installation
============
```
$ go install github.com/tklauser/statx@latest
```
Usage
=====
```
Usage of ./statx:
-A disable automount
-L follow symlinks
-b basic stat(2) compatible stats only
```