1
2
3
4
5
6
#!/bin/zsh
if [[ -n $ROOT ]]; then
	cd $ROOT || exit $?
fi
find "$@" -print0 | sort -z | cpio -o -0 -H newc | cpio2fs
exit $((${(j.|.)pipestatus}))