commit 0d43ddda6fd9bc8a80515fcf543366af71079dc0 parent 172a971fd417080a9a486079a2da1e288609ef5a Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Tue, 26 Jul 2022 17:26:31 +0200 Try to exclude history files specifically Diffstat:
M | overwrite_from_image | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/overwrite_from_image b/overwrite_from_image @@ -8,4 +8,4 @@ if ! rsync -l $img/boot/extlinux.conf; then fi mount -o remount,rw /boot || exit $? rsync -aAvPx $img/boot/ /boot/ --delete --exclude ldlinux.\* || exit $? -rsync -aAvPx $img/ / --delete --exclude /root/.\* || exit $? +rsync -aAvPx $img/ / --delete --exclude root/.\*history || exit $?