Skip to content

Instantly share code, notes, and snippets.

@roolo
Last active November 21, 2015 21:32
Show Gist options
  • Save roolo/19fcf4f271bf2d49d247 to your computer and use it in GitHub Desktop.
Save roolo/19fcf4f271bf2d49d247 to your computer and use it in GitHub Desktop.
Final Cut Pro X backups

Final Cut Pro X backups

This rsync command syncs your files from the first library path, to the second library path. You can of course use this for anything, what has files, not just FCPX libraries ;)

Use it

First of all copy you FCPX library to some other drive/path.

Natural way

  1. Save the Makefile file to some folder (make sure there is only one Makefile in this folder)
  2. Open your Makefile in TextEdit.app or any other text editor of your choice
  3. In text editor adjust the paths so it reflects paths of your FCPX libraries.
  4. Save the file
  5. Open Terminal.app
  6. In folder with the adjusted Makefile file run make (yes, just as you see it here) command
  7. You should see now how the files are synced into the destination

If you choose this way, next time you'll need to backup, just enter the folder with Makefile file and enter the make command.

Copy pasta

  1. Open TextEdit.app or any other text editor of your choice
  2. Paste the command into the text editor (make sure you are editing Plain Text Format)
  3. Adjust paths where your libraries are
  4. Open Terminal.app
  5. Copy the adjusted command into Terminal.app's prompt and hit enter
  6. You should see now how the files are synced into the destination

Wanna learn more?

rsync

Check manual page (man rsync in Terminal.app) or it's web equivalent.

Make

Make is tool to make running same tasks again and again more easier. Check manual page (man make in Terminal.app) or it's web equivalent.

sync:
rsync --verbose --recursive --delete --progress \
/Volumes/DATA\ 1/External\ FCP\ Library.fcpbundle/ \
/Volumes/DATA\ 2/External\ FCP\ Library.fcpbundle/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment