11

I have two files data.7z.001 and data.7z.002. l tried to extract them using :

7z e asdf data.7z.001

l got this error

   7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
    p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
Error:
there is no such archive

and

7z x /home/Desktop/data.7z.001 -tufd.split -o/home/Desktop/

error :

Error:
Unsupported archive type

and

7z x /home/Desktop/data.7z.001 -tiso.split -o/home/Desktop/

error :

Error:
Unsupported archive type
heisen
  • 111

3 Answers3

9
7z x data.7z.001

7z like that will find the others automatically (002 003 and so on)

David Foerster
  • 36,900
  • 56
  • 98
  • 152
Adonist
  • 380
7

I continued getting an "Unknown format" error until doing the following:

7z e file.7z.001 -tsplit
  • 1
    This worked for me, thank you! Option x supports full path. Option e for only names (as in your example). Option t is for testing. – Rutrus Feb 09 '21 at 18:45
  • Fixed that. Thanks for the catch! – ryanjdillon Feb 10 '21 at 20:07
  • 1
    For SEO’s sake : I got Open ERROR: Can not open the file as [7z] archive ERRORS: Unexpected end of archive Can't open as archive: 1 without -tsplit, worked like a charm with -tsplit. – Skippy le Grand Gourou Feb 09 '22 at 08:58
  • 1
    -tsplit means type split instead of type 7z. this has the same effect as cat archive.7z.* > archive.7z = the archive.7z.001 archive.7z.002 archive.7z.003 ... parts are concatted to one archive.7z file, because 7z cannot extract from stdin. but this still fails to extract an incomplete 7z archive – milahu May 23 '24 at 17:55
0

Just tryed with this quotaion marks ('') and it simply worked for me:

7z x '/home/Desktop/data.7z.001'