Created
June 7, 2018 14:50
-
-
Save kaz-yos/6baef08c06148dd5aaa0e69550b8ed22 to your computer and use it in GitHub Desktop.
Mark every fifth files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cl-loop | |
for str in (thread-last | |
(number-sequence 1 60) | |
(seq-filter (lambda (x) (zerop (% x 5)))) | |
(seq-map (lambda (x) (concat "000" (number-to-string x)))) | |
(seq-map (lambda (x) (substring x -3))) | |
(seq-map (lambda (x) (concat "raw" x)))) | |
do (dired-mark-files-regexp str)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment