How can I create a multipart 7zip file in Linux using the p7zip console client?

Many people referred me to it. My console app is

7-Zip [64] 9.13 beta  Copyright (c) 1999-2010 Igor Pavlov  2010-04-15
p7zip Version 9.13 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)
  • 1
    IMO the best solution is to avoid 7-zip and use xz. To split archives, read here: stackoverflow.com/questions/1120095/… Sep 27, 2014 at 11:05
  • Thank you. I'm not even for sure the xz option was even standard on most distros when I originally asked this question.
    – hopeseekr
    Dec 7, 2014 at 0:09

1 Answer 1


Use the -v option (v is for volume) -v100m will split the archive into chunks of 100MB.

7z -v option supports b k m g (bytes, kilobytes, megabytes, gigabytes)

Example: 7z -v100m a my_zip.7z my_folder/

  • 4
    Be aware that 7zip doesn't preserve file ownership information on Linux. Sep 4, 2010 at 15:10
  • 7z seem not to append files if file are already in the archive or if archive already exists. Jun 8, 2016 at 14:13
  • 2
    Also works on OSX using brew install p7zip.
    – phoenix
    Oct 27, 2016 at 14:58
  • 30
    Full command example: 7z -v100m a my_zip.7z my_folder/
    – phoenix
    Nov 11, 2016 at 18:33
  • @DennisWilliamson, thx, we can tar b4 7z then naming archive.tar.7z ! file-roller accepted opening archive.tar.7z.001 file properly and I confirmed the permissions and ownership with tar -tvf on the extracted tar file :) Apr 1 at 21:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.