Get the size of a repo in linux excluding specific sub-repo -


i want know size of repository in linux, excluding recusively subfolder start horizons:

i tried command couldn't needed result:

find -type d -not -name "horizons*" -exec du -sh {} \; 

du has option --exclude=pattern

du -sh repo --exclude 'horizons*' 

Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -