dailyhack
dailyhack copied to clipboard
Find .txt or .md files in the current directory that aren't empty
Use this terminal command on Linux:
find . \( -name '*.txt' -o -name '*.md' \) \! -empty.
Use this terminal command on Linux:
find . \( -name '*.txt' -o -name '*.md' \) \! -empty.