Skip to content

Latest commit

 

History

History
109 lines (92 loc) · 4.17 KB

README.md

File metadata and controls

109 lines (92 loc) · 4.17 KB

Personal dot files and computer configuration

Keep key configurations and share them among your computers

Packages to install based on OS

Ubuntu & MacOS

MacOS

Ubuntu

how I use mackup

  • ~/.mackup.cfg uses directory ~/.dot-files-rclone with engine file_system
  • Contents of ~/.dot-files-rclone are encrypted and then backed up to google drive using rclone
  • ~/.config/rclone/rclone.conf is encrypted

To restore other configs

  • Files ~/.mackup.cfg, ~/.mackup/my-files.cfg and ~/.config/rclone/rclone.conf should be in your system

  • Directory ~/.dot-files-rclone should be created

  • Run

    rclone copy -v --password-command "/path/to/script/that/outputs/password.sh" \
      "dot-files:${MACHINE_OS}" \
      ~/.dot-files-rclone/ # MACHINE_OS can be MacOS or Ubuntu`
  • Run mackup restore

Note: I may try to replace rclone copy/sync with rclone mount, for the moment I did not want to add another dependency (osxfuse)

Places I borrowed stuff from