How can I list the output of this command
ls -ltDR \`find . -maxdepth 4 -type f -name "*.org"\`
within dired-buffer. The above command lists all org files sorted by access time.
First open dired buffer using M-x dired
Sorting by access time in dired buffer
You can change the sort command used to order the dired buffer.
To sort by access time...
C-u s
this will bring up a minibuffer and you type -lutR
The R will make dired recurse subdirectories
Showing only .org files
Following info from this thread here works:
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/acb20ee78c00e4ec#
(Andreas Politz)
Here is one way :
dired-do-kill-lines' with
k' Wrapped up in a function :
(defun dired-show-only (regexp)
(interactive "sFiles to show (regexp): ")
(dired-mark-files-regexp regexp)
(dired-toggle-marks)
(dired-do-kill-lines))
(define-key dired-mode-map [?%?h] 'dired-show-only)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With