Function: dired-do-touch

dired-do-touch is an autoloaded, interactive and byte-compiled function defined in dired-aux.el.gz.

Signature

(dired-do-touch &optional ARG)

Documentation

Change the timestamp of the marked (or next ARG) files.

This calls touch. Type Type M-n (next-history-element) to pull the file attributes of the file at point into the minibuffer.

View in manual

Probably introduced at or before Emacs version 22.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;;;###autoload
(defun dired-do-touch (&optional arg)
  "Change the timestamp of the marked (or next ARG) files.
This calls touch.
Type Type \\<minibuffer-local-completion-map>\\[next-history-element] \
to pull the file attributes of the file at point
into the minibuffer."
  (interactive "P")
  (dired-do-chxxx "Timestamp" dired-touch-program 'touch arg))