Emacs Lisp: mkdatedir works in Dired and quickly creates directory by date

Emacs Lisp: mkdatedir works in Dired and quickly creates directory by date

Sorting files is one of tedious jobs we all do on the computer. Sorting is often best done chronologically by dates. Thus function creates directory within GNU Emacs Lisp, usually within Dired listings. Sort files by groups, people, and dates.

(defun mkdatedir ()
  "Creates new directory according to date"
  (interactive)
  (let ((date (format-time-string "%Y-%m-%d")))
    (mkdir date)))

Keep your file system neat!

Leave Your Comment or Contact GNU.Support

Contact GNU.Support now. There is a simple rule at GNU.Support: if we can help you, we do, whenever and wherever necessary, and it's the way we've been doing business since 2002, and the only way we know


Full name:


E-mail:


Message: