type f -regex '.*\.\(cpp\|h\)' -exec file {} + | grep "UTF-8\|extended-ASCII"0 By: swarzynski 2020-09-15 09:10:02 filefindgrep Does it work on your machine?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

Subscribe to the feed for: commandlinefu.com © 2018 Dan's Tools | FAQs | API | Widget | Privacy

Related Articles