index

   1 
   2 #!/bin/bash
   3 
   4 [[ $1 == -f ]] && f=-f
   5 
   6 find * -type d -exec mkdir ~/.{} \; -print 2>&-
   7 find * -type f -exec ln -s $f $PWD/{} ~/.{} \; -print 2>&-
   8