Category: Bash

How to copy only directory structure

For example you have defined directory structure with a lot of files. And task to copy only directory structure without files. So, How to copy only directory structure ?

Let’s copy directory tree from old_tree to new_tree:

Results:

 

Read more