3
5
Fork
You've already forked xut
3

xut: use find instead of looping to create lists and a small fix. #31

Merged
mobinmob merged 1 commit from fixes_and_find into master 2025年10月20日 20:15:24 +02:00
No description provided.
Author
Owner
Copy link

@zenobit: find is incredibly faster....
To check for directories that contain a template file see:
find "path/to/dir/" -exec test -f '{}/template' ';' -printf "%f "
It is slower than the simple case but still faster.

@zenobit: `find` is incredibly faster.... To check for directories that contain a template file see: `find "path/to/dir/" -exec test -f '{}/template' ';' -printf "%f "` It is slower than the simple case but still faster.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mobinmob/xut!31
Reference in a new issue
mobinmob/xut
No description provided.
Delete branch "fixes_and_find"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?