G2A Many GEOs
SHARE
TWEET

Simplebackup.sh

julientm Apr 4th, 2019 147 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. ###################################################################
  4. #Script Name    :Local back up script T500                                                                                              
  5. #Description    :Just an other simple backup scrtipt, as well as some other goodies.                                                                                
  6. #Author         :Julien Tremblay McLellan                                            
  7. #Email          :julien.tremblay.mclellan@outlook.com
  8. #Version        :0.0.01
  9. #Website        :julientremblaymclellan.wordpress.com
  10. ###################################################################
  11.  
  12. rsync -avc /home/julien/.config         /home/julien/Archive/rsync;
  13. rsync -avc /home/julien/.gnupg          /home/julien/Archive/rsync;
  14. rsync -avc /home/julien/.newsboat       /home/julien/Archive/rsync;
  15. rsync -avc /home/julien/.ssh            /home/julien/Archive/rsync;
  16. rsync -avc /home/julien/.thunderbird    /home/julien/Archive/rsync;
  17. rsync -avc /home/julien/.vim            /home/julien/Archive/rsync;
  18. rsync -avc /home/julien/Desk            /home/julien/Archive/rsync;
  19. rsync -avc /home/julien/Templates       /home/julien/Archive/rsync;
  20. rsync -avc /home/julien/Git             /home/julien/Archive/rsync;
  21. rsync -avc /home/julien/Logs            /home/julien/Archive/rsync;
  22. rsync -avc /home/julien/Keys            /home/julien/Archive/rsync;
  23. rsync -avc /home/julien/Pictures        /home/julien/Archive/rsync;
  24. rsync -avc /home/julien/Videos          /home/julien/Archive/rsync;
  25.  
  26. cp -f /home/julien/.bash_history \
  27. /home/julien/.bash_logout \
  28. /home/julien/.bash_profile \
  29. /home/julien/.bashrc \
  30. /home/julien/.bashrc-latest \
  31. /home/julien/.bashrc-personal \
  32. /home/julien/.bzr.log \
  33. /home/julien/.conkyrc \
  34. /home/julien/.dmrc \
  35. /home/julien/.drivesync_manifest \
  36. /home/julien/.esd_auth \
  37. /home/julien/.face \
  38. /home/julien/.fehbg \
  39. /home/julien/.gitconfig \
  40. /home/julien/.gksu.lock \
  41. /home/julien/.gmrun_history \
  42. /home/julien/.gtk-bookmarks \
  43. /home/julien/.gtkrc-2.0 \
  44. /home/julien/.ICEauthority \
  45. /home/julien/.lesshst \
  46. /home/julien/.profile \
  47. /home/julien/.python_history \
  48. /home/julien/.recently-used \
  49. /home/julien/.tig_history \
  50. /home/julien/.viminfo \
  51. /home/julien/.Xauthority \
  52. /home/julien/.xinitrc \
  53. /home/julien/.Xresources \
  54. /home/julien/.xsession \
  55. /home/julien/.xsession-errors \
  56. /home/julien/.xsession-errors.old \
  57. /home/julien/.xsessionrc /home/julien/Archive/rsync;
  58.  
  59.  
  60. zip archive.zip /home/julien/Archive/rsync;
  61. mv /home/julien/Archive/rsync/archive.zip ~/Dropbox/;
  62. rm -f /home/julien/Archive/rsync/archive.zip;
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top