Hurtling through Space

Mac Tip: Zip to Remote Location

02 January 2020
Show BibTeX citation

I recently traded in my 2012 MacBook Pro. Beforehand I wanted to backup my personal files en masse just in case something slipped under the radar when I was rumaging through them for anything useful. Here’s how to zip a local directory to a remote location, which was super useful for neatly zipping my whole home directory to my NAS.

Given a directory backup and a directory mounted at /Volumes/NAS:

ditto -c -k --sequesterRsrc --keepParent backup /Volumes/NAS/Backup\ 1/backup.zip

Run with -V to print the current file being zipped (but note that will significantly slow down the process).

Source


How to cite this blog post:

@misc{Pittman20201M,
    author = {Pittman, Cameron},
    title = {Mac tip: zip to remote location},
    journal = {Hurtling through Space},
    url = {},
    year = {2020},
    month = {January},
    accessed = {Oct 17, 2022}
}
All writings and opinions are my own and not the views of my employer.
All Rights Reserved, except for the parts enumerated below: