Reputation:
I need a shell script to copy a folder and all it's subfolders, but not any of it's files. The more portable (osx, linux, cygwin) the solution is, the better.
Upvotes: 1
Views: 203
Reputation: 195039
give this a try:
rsync -av -f"+ */" -f"- *" /path/src /path/dest/
Upvotes: 5