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 - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

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