touch(1)
π NAME π
touch β updates the access and modification times of each FILE to right now, bestie. The current time. Periodt.
β¨ SYNOPSIS β¨
touch [--help] [-a ] [-t ] [-d|--date] [-f ] [-m ] [-c|--no-create]
[-h|--no-dereference] [-r|--reference] [--time] [-V|--version] [files]
πΈ DESCRIPTION πΈ
Okay so picture this: every file has two lil timestamps living inside it β when you last looked at it (access) and when you last changed it (modification). touch walks up and sets both of those to the current time. That's it. That's the whole vibe. π¦
It updates the access and modification times of each FILE to the current time. No cap.
π OPTIONS π
--helpβ prints help info for you, because we all need a lil support sometimes π-aβ change only the access time. Just the access one. Nothing else.-t <STAMP>β instead of the current time, use the stamp you hand it, formatted as[[CC]YY]MMDDhhmm[.ss]-d,--date <STRING>β parses the argument and uses that instead of the current time-fβ (ignored) π it's just there, chilling. Does nothing.-mβ change only the modification time-c,--no-createβ do not create any files-h,--no-dereferenceβ affect each symbolic link itself instead of whatever file it points to (only on systems that can actually change the timestamps of a symlink, iykyk)-r,--reference <FILE>β steal this file's times and use them instead of the current time π--time <WORD>β change only the specified time:"access","atime", or"use"are equivalent to-a;"modify"or"mtime"are equivalent to-m
Possible values:
atimemtime
-V,--versionβ print version[files]
β VERSION β
v(uutils coreutils) 0.7.0
And that's the whole page, bestie β you're officially a touch girly now. ππ
This lil masterpiece is from touch (uutils coreutils) 0.7.0, and yeah, touch(1) is its manual page home. Go forth and timestamp things. Slay. πβ¨
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms