Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tango

tango (from Latin tango — to touch) updates file access and modification timestamps to the current time, or creates empty files if they do not exist. It is the core Vesper Linux replacement for GNU touch.

Usage

tango [-c] [-a] [-m] [-t TIMESTAMP] FILE...

Flags

  • -c — do not create any files that do not already exist.
  • -a — change only the access time (compatibility flag).
  • -m — change only the modification time (compatibility flag).
  • -t — timestamp specification flag (compatibility flag).

Examples

Create a new empty file:

tango newfile.txt

Update timestamps on an existing file without creating it if missing:

tango -c existing.log

Touch multiple files at once:

tango file1.txt file2.txt file3.txt