I need to clone an empty set of directories
In Windows/DOS, the xcopy command can copy a tree structure of directories, but leave out the files:
xcopy /t /e "C:\Documents" "C:\Clone\Documents"
/t = Copies the sub-directory structure, but not the files
/e = Copies sub-directories, including any empty ones
Can cp or rsync (or something else) do this, too?
Thanks!
[link] [comments]