Condensed 3 seperate [rsync] commands into single for loop

This commit is contained in:
2026-08-02 07:49:18 -04:00
parent 0c03548307
commit 9b15fd5159
+8 -20
View File
@@ -22,26 +22,14 @@ wget \
/boot/efi/EFI/ZBM/VMLINUZ.EFI \ /boot/efi/EFI/ZBM/VMLINUZ.EFI \
https://get.zfsbootmenu.org/efi https://get.zfsbootmenu.org/efi
rsync \ for file in {ZBM/VMLINUZ-BACKUP,BOOT/{BOOTX64,shellx64}}; do
-pogAXtlHrDx \ rsync \
--stats \ -pogAXtlHrDx \
--info=progress2 \ --stats \
/boot/efi/EFI/ZBM/VMLINUZ.EFI \ --info=progress2 \
/boot/efi/EFI/ZBM/VMLINUZ-BACKUP.EFI /boot/efi/EFI/ZBM/VMLINUZ.EFI \
/boot/efi/EFI/${file}.EFI
rsync \ done
-pogAXtlHrDx \
--stats \
--info=progress2 \
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
/boot/efi/EFI/BOOT/BOOTX64.EFI
rsync \
-pogAXtlHrDx \
--stats \
--info=progress2 \
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
/boot/efi/EFI/BOOT/shellx64.efi
efibootmgr \ efibootmgr \
-c \ -c \