1
0

touch 461 B

1234567891011121314151617181920212223242526272829303132333435
  1. .TH TOUCH 1
  2. .SH NAME
  3. touch \- set modification date of a file
  4. .SH SYNOPSIS
  5. .B touch
  6. [
  7. .B -c
  8. ]
  9. [
  10. .B -t
  11. .I time
  12. ]
  13. .I file ...
  14. .SH DESCRIPTION
  15. .I Touch
  16. attempts to set the modification time of the
  17. .I files
  18. to
  19. .I time
  20. (by default, the current time).
  21. If a
  22. .I file
  23. does not exist,
  24. it will be created unless option
  25. .B -c
  26. is present.
  27. .SH SOURCE
  28. .B /sys/src/cmd/touch.c
  29. .SH SEE ALSO
  30. .IR ls (1),
  31. .IR stat (2),
  32. .IR chmod (1)
  33. .SH BUGS
  34. .I Touch
  35. will not touch directories.