Monday, January 20, 2020

Find non-empty subdirectories

find . -mindepth 1 -maxdepth 1 -not -empty -type d

source: https://stackoverflow.com/questions/815668/how-to-list-non-empty-subdirectories-on-linux#comment625237_815668

Related Posts:

0 comments:

Post a Comment

Popular Posts

Recent Posts

Unordered List

Text Widget

Pages

Search This Blog

Powered by Blogger.