stat_atime (263B)
- #!/bin/sh
- # SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- # SPDX-License-Identifier: MPL-2.0
- case "$(uname -s)" in
- FreeBSD) stat -f%Sa -t'%F %T%z' "$@" ;;
- *BSD) stat -f%Sa -t'%F %T.%f%z' "$@" ;;
- *) stat -c%x "$@" ;;
- esac