Copy all Directories but exclude specific Directory using rsync
Below command will copy Unixbuddy and all its sub directories to notebook except static directory and its content which i am excluding
rsync -av --progress unixbuddy notebook --exclude static
You will see unixbuddy and all its contents under notebook
ls notebook/unixbuddy
If you want to create notebook directory at same level as unixbuddy then do following...
mkdir notebook
rsync -av --progress unixbuddy/* notebook --exclude static