Sync only directory tree with rsync
Again its Monday. So lets start the day with something technical in Linux. We had our share of fun during weekends.
So by now you must have done all the hands-on with rsync command. That’s really good.
Lets do one more thing with rsync. You know you can use, rsync with option -d to sync only directory tree from source to the target. So no files inside those directory tree will be synced.
Here is again the illustrated example of using rsync with option -d.