find /path | sort | bsdtar -c -f OUTPUT -n --files-from /dev/stdin ...Args
I prefer the second version which terminates paths with the NULL character. Both include -n to not-recurse.
find /path -s -print0 | bsdtar -c -f OUTPUT --null -n --files-from /dev/stdin ...Args
From the BSD manpage: -s Cause find to traverse the file hierarchies in lexicographical order, i.e., alphabetical order within each directory. Note: `find -s' and `find | sort' may give different results.
find /path | sort | bsdtar -c -f OUTPUT -n --files-from /dev/stdin ...Args
I prefer the second version which terminates paths with the NULL character. Both include -n to not-recurse.
find /path -s -print0 | bsdtar -c -f OUTPUT --null -n --files-from /dev/stdin ...Args
From the BSD manpage: -s Cause find to traverse the file hierarchies in lexicographical order, i.e., alphabetical order within each directory. Note: `find -s' and `find | sort' may give different results.