Welcome to little lamb

Code » comain » master » tree

[master] / mkdirobj

1
2
3
4
5
#!/bin/sh

find src -type d -printf '%P\n' | while read -r dir; do
    if test ! -e "obj/$dir"; then mkdir "obj/$dir"; fi
done