Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Compress a folder to another location

I need to archive a folder with 1TB of info in it. The problem is I don't have enough space on the drive where it is at the moment to add the new compressed file. It takes forever to shift such large chunks of info between drives. Can I change the compression location such that the compressed archive of the folder is written to a new drive?

Mac OS X (10.7.4)

Posted on Aug 24, 2012 2:24 AM

Reply
Question marked as Best reply

Posted on Aug 24, 2012 5:53 AM

Maybe this will help:

ditto -c -k --sequesterRsrc --keepParent name_of_source_dir /path/to/destination/name_of_archive.zip


Reference.

4 replies

Aug 24, 2012 7:26 AM in response to Steve Kale

Ok, here's how to do it.


1. Move the 1TB folder you want to zip up, to the Desktop. Rename this folder to "backup"

2. Open Terminal (/Applications/Utilities)

3. Copy and paste into Terminal:

cd ~/Desktop

4. Hit enter

5. Copy and paste into Terminal:

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

6. Hit enter


Should be done!


Let me know how it goes. 🙂


Morgan

Compress a folder to another location

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.