-
-
Notifications
You must be signed in to change notification settings - Fork 919
Open
Labels
Description
Hi
Please add a -printf like feature to fd.
Currently, to get the file information I'm running:
fd --changed-within=10days -x ls -dl --time-style=long-iso "{}"
Which spawns ls
for every result.
This is actually much slower than running:
find . -mtime 10 -printf "%TY-%Tm-%Td %TH:%TM %p\n"
(For example)
Test dataset is around 20,000 files. fd is running for ~21 seconds, find for ~10.
Of course when more results are found, fd method would become slower.
Thanks !
oxalorg, austinbutler, NoReasonKen, cohml, ashmanskas and 1 more