sys touch

vb sys touch [OPTIONS] FILE...

Description

Update the access and modification times of each FILE to the current time.

Options

-c

Do not create any files

-r FILE

Use FILE’s time instead of current time

Examples

  • Create an empty file

$ vb sys touch newfile.txt
  • Copy timestamps from a reference file

$ vb sys touch -r ref.txt target.txt
  • Do not create files

$ vb sys touch -c example.txt