modification time
The date and time a file's contents were last changed, stored with the file and shown by ls -l.
In more detail
touch sets it, cp -p preserves it, and find -mtime selects files by it, counted in whole days. rsync and build tools compare it to decide whether a file changed.
Related terms
- touch command — The command that creates an empty file if it does not exist, or updates the modification time of one that does.
- find command — The find command, which walks a directory tree and prints, or acts on, every entry that passes its tests.
- rsync — A file copying tool that sends only the parts that differ between source and destination, locally or over SSH.
Taught in
- Making, Copying, Moving And Removing — Bash Scripting & Command Line Automation
- find And xargs — Bash Scripting & Command Line Automation
- The Assistant Was Confident: Reviewing AI-Generated Code, Prompts And Data — CompTIA Linux+ (XK0-006) Exam Prep