I'm using an Awk script to split a big text document into independent files. I did it and now I'm working with 14k text files. The problem here is there are a lot of files with just three lines of text and it's not useful for me to keep them.
I know I can delete lines in a text with awk 'NF>=3' file
, but I don't want to delete lines inside files, rather I want to delete files which content is just two or three text lines.
Thanks in advance.