]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/cp-sorted
Have not used zshfe for years
[dotfiles.git] / bin / bin / cp-sorted
1 #!/bin/sh -x
2
3 find "$1" -type f | sort | while read ent ; do tar cf - "$ent" | tar xvfC - "$2" ; sync ; done