Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd ~/.config/lxpanel/LXDE/panels
- cp /usr/share/lxpanel/profile/default/panels/panel .
- sudo reboot
- cd ~/.config/lxpanel/LXDE-pi/panels
- curl -O https://gist.githubusercontent.com/ColinNg/9ed317308a9a0f75824f828e75c8469c/raw/a72176416201a0e6ebbce30608e6f7eceb379e0e/panel
- sudo reboot
- #!/bin/bash
- # script to backup Pi SD card
- # next line assumes Time Machine mounted
- diskutil unmount /dev/disk2s1
- echo pleae wait!
- sudo dd of=/Users/ian/temp/Pi/Piback.img if=/dev/rdisk2 bs=2m
- echo backup completed - now compressing
- gzip -9 /Users/ian/temp/Pi/Piback.img
- #rename to current date
- mv /Users/ian/temp/Pi/Piback.img.gz "/Users/ian/temp/Pi/Piback`date +%Y%m%d`.img.gz"
Add Comment
Please, Sign In to add comment