stat_atime (268B)
- #!/bin/sh
- # SPDX-FileCopyrightText: 2017-2023 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