]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/cp-sorted.sh
Huge tmux-fzf simplification with files quoting
[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