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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -