find server/ -type d|xargs -I {} echo mkdir /root/{} 把每個目錄都找出來,然後前面加個/root,再建立。 -I {}這個就是檔案名放到後面的mkdir /root/{}裡面去