touch – Dateien erstellen & Timestamps setzen

Der touch-Befehl in Linux ist ein grundlegendes Coreutils-Tool, das leere Dateien erstellt oder die Zugriffs- (atime) und Änderungszeiten (mtime) von bestehenden Dateien auf die aktuelle Systemzeit setzt – essenziell für schnelle Dateioperationen ohne zusätzliche Inhalte. Grundlegende Verwendung: Dateierstellung Die einfachste Anwendung ist das Erstellen einer leeren Datei ohne Optionen – ideal für schnelle Vorlagen oder Tests. Erneutes nutzen des selben Befehls aktualisiert den […]

https://andreas-moor.de/touch-dateien-erstellen-timestamps-setzen/

mtime comparison considered harmful: Why comparing the modification time of a build target versus its dependencies, like Make does it, is error-prone, and how djb's "redo" (or apenwarr's implementation of it) does it better.

https://apenwarr.ca/log/20181113

Also talks a lot about popular misconceptions about mtime, a fascinating read for any Unix nerd.

#Unix #Linux #mtime #Make #redo

mtime comparison considered harmful

tl;dr: Rebuilding a target because its mtime is older than the mtimes of its dependencies, like `make` does, is very error prone. redo does...

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook
mtime comparison considered harmful

tl;dr: Rebuilding a target because its mtime is older than the mtimes of its dependencies, like `make` does, is very error prone. redo does...

File Timestamps in Linux: atime, mtime, ctime Explained

https://linuxhandbook.com/file-timestamps/
#atime #mtime #ctime #unix #linux

File Timestamps in Linux: atime, mtime, ctime Explained

Let's see what are the various kinds of file timestamps in Linux, how to see the timestamps for a file and how to change the timestamps.

Linux Handbook