On Mon, 28 Dec 2020 19:39:29 -0500 James <bjlockie [ at ] lockie [ dot ] ca> wrote: > I want to find all the empty .txt files under the current directories. > I eventually want to delete them. :-) > There are spaces in the directory names. What about: find . -name \*.txt -empty -ls And to delete: find . -name \*.txt -empty -print0 | xargs -0 rm -v Regards, Dianne. To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org To visit the archives: https://lists.linux-ottawa.org