Jump to content

how to create multi part / split archive? [solved]


Recommended Posts

Hello!

 

How do I create a multipart tar.gz archive?

I have a file at 1gb and I'd like to archive it as two 500mb part files.

I looked at tar --help, but didn't notice anything like what I need.

Or maybe I just missed it... :unsure:

 

p.s. Maybe it's possible to make it as multipart rar or zip archive instead?

Because I plan to maybe give those files over to a guy with Windows installed,

so it would be nice if those files could be unarchived in Windows

 

Thanks!

Edited by solarian
Link to comment
Share on other sites

-K, --starting-file=MEMBER-NAME

begin at member MEMBER-NAME in the archive

 

 

-k, --keep-old-files don't replace existing files when extracting

--keep-newer-files don't replace existing files that are newer than

their archive copies

Link to comment
Share on other sites

Not sure if this helps, but I saw two parameters:

 

-L = tape length (although this could work with disk length value * 1024)

 

-M = multi-volume (create/list/extract multivolume - could be this if referring to disks).

 

This link also seems to think what I found is correct:

 

http://www.cgi-interactive-uk.com/splitting_large_files.html

 

so it requires using both parameters in conjunction with each other.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...