

See the zip(1) man page.In these times of communicating remotely, sending video files to each other (and even to customers) is becoming a daily reality! But the videos that our phones and computers record are often extremely large, as they are meant to be high-quality originals. DS_Store files, and compress the contents of folder bar into the foo.zip archive: One still requires the -x flag immediately followed by the file to exclude. That flag has nothing to do with that functionality on OS X/macOS. The zip utility can also use a more efficient bzip2 compression, though you should review whether you have the bunzip2(1) uncompression functionality available to you later.Īlso, in that CT linked article they suggest that -X prevents backing up. source-folder /Volumes/extdrive/source-folder If there is any white-space, or other illegal characters in the folder name that cause the Terminal command to break, you will have to escape these with a '\' character.ĭitto. If any single file in the source folder is over 4GB, then I recommend that you format the recipient drive as Apple HFS+ extended/Journaled with a GUID partition type, and then Disk Utility First Aid on the recipient drive before you begin.

Add this external drive to the Spotlight excluded list. I suggest that you use ditto(1) from the Terminal, and perform an inter-drive duplication of that 1TB folder (without compression).

Due to the storage limitations and that 1TB folder size, any attempt at compression/archiving on the same drive is going to take forever, and likely fail due to exhausted temporary storage.
