Install the complete package with local command reference and every published mode.
install modmodChange UNIX permissions and timestamps for a file or directory without calling system chmod or touch.
Change only the metadata you mean to change: permissions, date or time, access time and modification time can be selected deliberately.
mod <path> [-0755|-m 0755] [-YYYYMMDD] [-HHMMSS] [-o|-s]mod <path> -0755set octal permissions directly
mod <path> -m 0755set permissions in UNIX mode format through the mode option
mod <path> -20251225set the date
mod <path> -121008set the time in HHMMSS format
mod <path> -20251225 -121008set the date and time
mod <path> ... -ochange only the access time
mod <path> ... -schange only the modification time
The short -0755 form and -m 0755 describe the same UNIX permission value. They are kept as two explicit syntaxes so users can choose compact terminal input or a conventional mode option.
Date and time can be supplied together or separately. Without -o or -s, timestamp changes apply to both access and modification time. -o restricts the change to access time; -s restricts it to modification time. ctime is controlled by the filesystem and cannot be set directly.
When stat is installed,
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install modInstall the reduced package. Local reference is omitted;
install mod -mInstall exactly this published version.
install mod -v 1.1.3Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade modRemove the extension block while leaving the core and unrelated modules intact.
install mod -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
cd \sandbox\tmp | @mf permissions.txt | mod permissions.txt -0600 | @stat permissions.txtpermissions.txt
0600
permissions.txt
0600mod sandbox/tmp/example.txt -m 0600Permissions 0600 -rw-------mod sandbox/tmp/example.txt -20261225Modified 2026-12-25mod sandbox/tmp/example.txt -121008Modified 12:10:08
Accessed 12:10:08mod sandbox/tmp/example.txt -20261225 -121008Modified 2026-12-25 12:10:08mod sandbox/tmp/example.txt -121008 -sModified 12:10:08
Accessed unchangedmod \sandbox\tmp\missing.txt -0644Path not foundsandbox/tmp/README.txtThe example uses a file or directory from the protected /sandbox/ documentation workspace.
lil-terminal sandbox temporary workspace
Commands in the public documentation use this directory for disposable copies,
archives, uploads and files created during examples. Review destructive commands
before running them and restore the sandbox from the release package when needed.
Current stable release of