All Projects → jessesquires → icloud-backup-script

jessesquires / icloud-backup-script

Licence: MIT license
Backup your iCloud Drive documents using rsync

Programming Languages

shell
77523 projects

icloud-backup-script

Backup your iCloud Drive documents using rsync

About

This is a simple script that I use to backup my iCloud Drive documents, in case I ever get clusterfucked.

It will backup the entire contents of the iCloud Drive directory (~/Library/Mobile Documents/). Note: it will only backup what has been downloaded to your Mac.

Usage

  1. Clone this repo
  2. Update the DEST variable to point to where you want the backup stored
  3. Run the script, ./icloud_backup.zsh. Add --dry-run option to the script to preview before running.

Example

$ ./icloud_backup.zsh

Source: /Users/jesse/Library/Mobile Documents/
Destination: /Users/jesse/Desktop/dest/
Starting rsync backup...

# rsync output...

Done!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].