dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

uniqfind (200B)


      1 #!/bin/sh
      2 #
      3 # compare dir $11 and dir $2
      4 
      5 d1=$(mktemp)
      6 d2=$(mktemp)
      7 
      8 find $1 -type f | sed "s~^$1[/]*~~" > $d1
      9 find $2 -type f | sed "s~^$2[/]*~~" > $d2
     10 
     11 printf "> $1\n< $2\n"
     12 diff $d1 $d2
     13 rm $d1 $d2