[GH-ISSUE #305] Search for a string in a file #161

Closed
opened 2026-04-08 16:50:46 +03:00 by zhus · 1 comment
Owner

Originally created by @evheniu on GitHub (Nov 30, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/305

Specific Demand

Is it possible to add option for searching string in file and in result formed list of files where this string present ?

Implement Suggestion

I mean like it works for examle with grep:

grep -rl --include=*.txt --include=*.TXT 'pattern'

pattern is the string for search, including formats for example .txt (maybe it's possible add to preconfig before instalation)

Originally created by @evheniu on GitHub (Nov 30, 2023). Original GitHub issue: https://github.com/sigoden/dufs/issues/305 ## Specific Demand <!-- --> Is it possible to add option for searching string in file and in result formed list of files where this string present ? ## Implement Suggestion <!-- --> I mean like it works for examle with grep: ``` grep -rl --include=*.txt --include=*.TXT 'pattern' ``` pattern is the string for search, including formats for example .txt (maybe it's possible add to preconfig before instalation)
zhus closed this issue 2026-04-08 16:50:46 +03:00
Author
Owner

@sigoden commented on GitHub (Nov 30, 2023):

No, I will not support this feature.

Searching for a string can be complicated, maybe you should look into services that specialize in this.

<!-- gh-comment-id:1833382392 --> @sigoden commented on GitHub (Nov 30, 2023): No, I will not support this feature. Searching for a string can be complicated, maybe you should look into services that specialize in this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#161