frozen Posted May 10, 2006 Report Share Posted May 10, 2006 (edited) I have a directory with a bunch of files exceeding 400MB in total. Is it possible to create multiple archives tar/gzip(it doesn't matter which) each of them having max size of 6MB and have 67 such small archives? Can this be somehow automated without creating each archive one by one manually? Thanks. Edited May 10, 2006 by frozen Quote Link to comment Share on other sites More sharing options...
neddie Posted May 10, 2006 Report Share Posted May 10, 2006 You could make one big tar.gz file and then use 'split' to chop it up into pieces. Quote Link to comment Share on other sites More sharing options...
frozen Posted May 10, 2006 Author Report Share Posted May 10, 2006 didn't know such a command existed.. interesting... how do I merge them latter? Quote Link to comment Share on other sites More sharing options...
neddie Posted May 10, 2006 Report Share Posted May 10, 2006 cat chunk01 chunk02 chunk03 > bigfilename Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.