誰かにこんなディレクトリを作ってとリストをもらったとする。
a/b/c/1 a/b/c/2 d/e/f/1 d/e/f/2 g/h/i/1 g/h/i/2
こんな具合に
$ cat <<EOF|xargs mkdir -p > a/b/c/1 > a/b/c/2 > d/e/f/1 > d/e/f/2 > g/h/i/1 > g/h/i/2 > EOF
やってみると、
$ find . -ls 680864 4 drwxr-xr-x 5 oracle oinstall 4096 May 20 04:14 . 681111 4 drwxr-xr-x 3 oracle oinstall 4096 May 20 04:14 ./a 681141 4 drwxr-xr-x 3 oracle oinstall 4096 May 20 04:14 ./a/b 681160 4 drwxr-xr-x 4 oracle oinstall 4096 May 20 04:14 ./a/b/c 681162 4 drwxr-xr-x 2 oracle oinstall 4096 May 20 04:14 ./a/b/c/1 681166 4 drwxr-xr-x 2 oracle oinstall 4096 May 20 04:14 ./a/b/c/2 681168 4 drwxr-xr-x 3 oracle oinstall 4096 May 20 04:14 ./d 681170 4 drwxr-xr-x 3 oracle oinstall 4096 May 20 04:14 ./d/e 681172 4 drwxr-xr-x 4 oracle oinstall 4096 May 20 04:14 ./d/e/f 681174 4 drwxr-xr-x 2 oracle oinstall 4096 May 20 04:14 ./d/e/f/1 681176 4 drwxr-xr-x 2 oracle oinstall 4096 May 20 04:14 ./d/e/f/2 681178 4 drwxr-xr-x 3 oracle oinstall 4096 May 20 04:14 ./g 681180 4 drwxr-xr-x 3 oracle oinstall 4096 May 20 04:14 ./g/h 681182 4 drwxr-xr-x 4 oracle oinstall 4096 May 20 04:14 ./g/h/i 681184 4 drwxr-xr-x 2 oracle oinstall 4096 May 20 04:14 ./g/h/i/1 681186 4 drwxr-xr-x 2 oracle oinstall 4096 May 20 04:14 ./g/h/i/2
でけた。