Find all Text Files, recursively
Because I was thinking of something like that for a long time.
In bash/zsh (add it to your .rc
):
textfiles ()
{
file $(find $*) | /bin/grep -E 'text|empty' | cut -d ':' -f1
}
Using this function it’s possible to open all text files of a project at once:
kate $(textfiles project/*)
Leave a comment
There are multiple options to leave a comment: