mrp wrote:I use the throttling thermal limit thing. I'm about to transfer my memory stick from 4GB to 8GB. I was trying to find the instructions how to use rsync and pc. Could you please list instructions to copy 4GB boot and root contents to pc and back to a bigger memory stick. I'll wait for your updated image before applying rsync thing though
#!/bin/bash
[ "$1" == "" ] && exit
read -p "Sync from USB stick to $1 (y/n)?"
[ "$REPLY" == "y" ] || exit
mount /dev/sdb3 /mnt
mount /dev/sdb1 /mnt/boot
rsync -av --numeric-ids --delete /mnt/ $1
umount /mnt/boot /mnt
#!/bin/bash
[ "$1" == "" ] && exit
read -p "Sync from $1 to USB Stick (y/n)?"
[ "$REPLY" == "y" ] || exit
mount /dev/sdb3 -o compress=lzo,ssd_spread /mnt
mount /dev/sdb1 /mnt/boot
rsync -av --numeric-ids --delete $1 /mnt/
umount /mnt/boot /mnt
Users browsing this forum: No registered users and 0 guests