Copy directory structure without files
find ./<SOURCEDIR>/ -type d | sed 's/.\/<SOURCEDIR>//g' | xargs -I {} mkdir -p <DEST_DIR>/{}
Written by emilpls
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Shell 
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#