bash - a shell script to copy a folder and all it's subfolders, but noit it's files -


i need shell script copy folder , it's subfolders, not of it's files. more portable (osx, linux, cygwin) solution is, better.

give try:

rsync -av -f"+ */" -f"- *" /path/src /path/dest/ 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -