]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/cp-sorted.sh
Nicer and simpler dc invocation
[dotfiles.git] / bin / bin / cp-sorted.sh
1 #!/bin/sh -x
2
3 find "$1" -type f | sort | while read ent ; do tar cf - "$ent" | tar xvfC - "$2" ; sync ; done