@@ -23,6 +23,9 @@ Why another extractor?
23
23
24
24
ExtractCode will extract things where other extractors may fail.
25
25
26
+ ExtractCode supports one of largest number of archive formats listed in the
27
+ long `List of supported archive formats `_ found at the bottom of this document.
28
+
26
29
- Say you want to extract the tarball of the Linux kernel source code on Windows.
27
30
It contains paths that are the same when ignoring the case and therefore will
28
31
not extract OK on Windows: some file may be munged or the extract may file.
@@ -51,7 +54,8 @@ ExtractCode will extract things where other extractors may fail.
51
54
In all these cases, ExtractCode will extract and try hard do the right thing to
52
55
obtain the actual archived content when other tools may fail.
53
56
54
- It can also extract recursively any type of (nested) archives-in-archives
57
+ It can also extract recursively any type of (nested) archives-in-archives.
58
+
55
59
56
60
As a downside, the extracted content may not be exactly what would be extracted
57
61
for a typical usage of the contained files: for instance some file may be
@@ -144,7 +148,6 @@ The supported binary tools versions are:
144
148
- libarchive 3.5.x
145
149
- 7zip 16.5.x
146
150
147
-
148
151
Development
149
152
-----------
150
153
@@ -256,3 +259,297 @@ similar to ExtractCode but with different goals:
256
259
257
260
- https://github.com/wummel/patool (wrapper on many CLI tools) (GPL license)
258
261
- https://github.com/dtrx-py/dtrx (wrapper on a few CLI tools) (recently revived) (GPL license)
262
+
263
+
264
+
265
+
266
+ List of supported archive formats
267
+ -------------------------------------
268
+
269
+ ExtractCode can extract the folowing archives formats:
270
+
271
+ Archive format kind: docs
272
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273
+ name: Office doc
274
+ - extensions: .docx, .dotx, .docm, .xlsx, .xltx, .xlsm, .xltm, .pptx, .ppsx, .potx, .pptm, .potm, .ppsm, .odt, .odf, .sxw, .stw, .ods, .ots, .sxc, .stc, .odp, .otp, .odg, .otg, .sxi, .sti, .sxd, .sxg, .std, .sdc, .sda, .sdd, .smf, .sdw, .sxm, .stw, .oxt, .sldx, .epub
275
+ - filetypes : zip archive, microsoft word 2007+, microsoft excel 2007+, microsoft powerpoint 2007+
276
+ - mimetypes : application/zip, application/vnd.openxmlformats
277
+
278
+ name: Dia diagram doc
279
+ - extensions: .dia
280
+ - filetypes : gzip compressed
281
+ - mimetypes : application/gzip
282
+
283
+ name: Graffle diagram doc
284
+ - extensions: .graffle
285
+ - filetypes : gzip compressed
286
+ - mimetypes : application/gzip
287
+
288
+ name: SVG Compressed doc
289
+ - extensions: .svgz
290
+ - filetypes : gzip compressed
291
+ - mimetypes : application/gzip
292
+
293
+ Archive format kind: regular
294
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295
+ name: Tar
296
+ - extensions: .tar
297
+ - filetypes : .tar, tar archive
298
+ - mimetypes : application/x-tar
299
+
300
+ name: Zip
301
+ - extensions: .zip, .zipx
302
+ - filetypes : zip archive
303
+ - mimetypes : application/zip
304
+
305
+ name: Java archive
306
+ - extensions: .war, .sar, .ear
307
+ - filetypes : zip archive
308
+ - mimetypes : application/zip, application/java-archive
309
+
310
+ name: xz
311
+ - extensions: .xz
312
+ - filetypes : xz compressed
313
+ - mimetypes : application/x-xz
314
+
315
+ name: lzma
316
+ - extensions: .lzma
317
+ - filetypes : lzma compressed
318
+ - mimetypes : application/x-xz
319
+
320
+ name: Gzip
321
+ - extensions: .gz, .gzip, .wmz, .arz
322
+ - filetypes : gzip compressed, gzip compressed data
323
+ - mimetypes : application/gzip
324
+
325
+ name: bzip2
326
+ - extensions: .bz, .bz2, bzip2
327
+ - filetypes : bzip2 compressed
328
+ - mimetypes : application/x-bzip2
329
+
330
+ name: lzip
331
+ - extensions: .lzip
332
+ - filetypes : lzip compressed
333
+ - mimetypes : application/x-lzip
334
+
335
+ name: RAR
336
+ - extensions: .rar
337
+ - filetypes : rar archive
338
+ - mimetypes : application/x-rar
339
+
340
+ name: ar archive
341
+ - extensions: .ar
342
+ - filetypes : current ar archive
343
+ - mimetypes : application/x-archive
344
+
345
+ name: 7zip
346
+ - extensions: .7z
347
+ - filetypes : 7-zip archive
348
+ - mimetypes : application/x-7z-compressed
349
+
350
+ name: cpio
351
+ - extensions: .cpio
352
+ - filetypes : cpio archive
353
+ - mimetypes : application/x-cpio
354
+
355
+ name: Z
356
+ - extensions: .z
357
+ - filetypes : compress'd data
358
+ - mimetypes : application/x-compress
359
+
360
+ Archive format kind: regular_nested
361
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362
+ name: Tar xz
363
+ - extensions: .tar.xz, .txz, .tarxz
364
+ - filetypes : xz compressed
365
+ - mimetypes : application/x-xz
366
+
367
+ name: Tar lzma
368
+ - extensions: tar.lzma, .tlz, .tarlz, .tarlzma
369
+ - filetypes : lzma compressed
370
+ - mimetypes : application/x-lzma
371
+
372
+ name: Tar gzip
373
+ - extensions: .tgz, .tar.gz, .tar.gzip, .targz, .targzip, .tgzip
374
+ - filetypes : gzip compressed
375
+ - mimetypes : application/gzip
376
+
377
+ name: Tar lzip
378
+ - extensions: .tar.lz, .tar.lzip
379
+ - filetypes : lzip compressed
380
+ - mimetypes : application/x-lzip
381
+
382
+ name: Tar lz4
383
+ - extensions: .tar.lz4
384
+ - filetypes : lz4 compressed
385
+ - mimetypes : application/x-lz4
386
+
387
+ name: Tar zstd
388
+ - extensions: .tar.zst, .tar.zstd
389
+ - filetypes : zstandard compressed
390
+ - mimetypes : application/x-zstd
391
+
392
+ name: Tar bzip2
393
+ - extensions: .tar.bz2, .tar.bz, .tar.bzip, .tar.bzip2, .tbz, .tbz2, .tb2, .tarbz2
394
+ - filetypes : bzip2 compressed
395
+ - mimetypes : application/x-bzip2
396
+
397
+ name: lz4
398
+ - extensions: .lz4
399
+ - filetypes : lz4 compressed
400
+ - mimetypes : application/x-lz4
401
+
402
+ name: zstd
403
+ - extensions: .zst, .zstd
404
+ - filetypes : zstandard compressed
405
+ - mimetypes : application/x-zstd
406
+
407
+ name: Tar 7zip
408
+ - extensions: .tar.7z, .tar.7zip, .t7z
409
+ - filetypes : 7-zip archive
410
+ - mimetypes : application/x-7z-compressed
411
+
412
+ name: Tar Z
413
+ - extensions: .tz, .tar.z, .tarz
414
+ - filetypes : compress'd data
415
+ - mimetypes : application/x-compress
416
+
417
+ Archive format kind: package
418
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
419
+ name: Ruby Gem package
420
+ - extensions: .gem
421
+ - filetypes : .tar, tar archive
422
+ - mimetypes : application/x-tar
423
+
424
+ name: Android app
425
+ - extensions: .apk
426
+ - filetypes : zip archive
427
+ - mimetypes : application/zip
428
+
429
+ name: Android library
430
+ - extensions: .aar
431
+ - filetypes : zip archive
432
+ - mimetypes : application/zip
433
+
434
+ name: Mozilla extension
435
+ - extensions: .xpi
436
+ - filetypes : zip archive
437
+ - mimetypes : application/zip
438
+
439
+ name: iOS app
440
+ - extensions: .ipa
441
+ - filetypes : zip archive
442
+ - mimetypes : application/zip
443
+
444
+ name: Springboot Java Jar package
445
+ - extensions: .jar
446
+ - filetypes : bourne-again shell script executable (binary data)
447
+ - mimetypes : text/x-shellscript
448
+
449
+ name: Java Jar package
450
+ - extensions: .jar, .zip
451
+ - filetypes : java archive
452
+ - mimetypes : application/java-archive
453
+
454
+ name: Java Jar package
455
+ - extensions: .jar
456
+ - filetypes : zip archive
457
+ - mimetypes : application/zip
458
+
459
+ name: Python package
460
+ - extensions: .egg, .whl, .pyz, .pex
461
+ - filetypes : zip archive
462
+ - mimetypes : application/zip
463
+
464
+ name: Microsoft cab
465
+ - extensions: .cab
466
+ - filetypes : microsoft cabinet
467
+ - mimetypes : application/vnd.ms-cab-compressed
468
+
469
+ name: Microsoft MSI Installer
470
+ - extensions: .msi
471
+ - filetypes : msi installer
472
+ - mimetypes : application/x-msi
473
+
474
+ name: Apple pkg or mpkg package installer
475
+ - extensions: .pkg, .mpkg
476
+ - filetypes : xar archive
477
+ - mimetypes : application/octet-stream
478
+
479
+ name: Xar archive v1
480
+ - extensions: .xar
481
+ - filetypes : xar archive
482
+ - mimetypes : application/octet-stream, application/x-xar
483
+
484
+ name: Nuget
485
+ - extensions: .nupkg
486
+ - filetypes : zip archive, microsoft ooxml
487
+ - mimetypes : application/zip, application/octet-stream
488
+
489
+ name: Static Library
490
+ - extensions: .a, .lib, .out, .ka
491
+ - filetypes : current ar archive, current ar archive random library
492
+ - mimetypes : application/x-archive
493
+
494
+ name: Debian package
495
+ - extensions: .deb, .udeb
496
+ - filetypes : debian binary package
497
+ - mimetypes : application/vnd.debian.binary-package, application/x-archive
498
+
499
+ name: RPM package
500
+ - extensions: .rpm, .srpm, .mvl, .vip
501
+ - filetypes : rpm
502
+ - mimetypes : application/x-rpm
503
+
504
+ name: Apple dmg
505
+ - extensions: .dmg, .sparseimage
506
+ - filetypes : zlib compressed
507
+ - mimetypes : application/zlib
508
+
509
+ Archive format kind: file_system
510
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
511
+ name: ISO CD image
512
+ - extensions: .iso, .udf, .img
513
+ - filetypes : iso 9660 cd-rom, high sierra cd-rom
514
+ - mimetypes : application/x-iso9660-image
515
+
516
+ name: SquashFS disk image
517
+ - extensions:
518
+ - filetypes : squashfs
519
+ - mimetypes :
520
+
521
+ name: QEMU QCOW2 disk image
522
+ - extensions: .qcow2, .qcow, .qcow2c, .img
523
+ - filetypes : qemu qcow2 image, qemu qcow image
524
+ - mimetypes : application/octet-stream
525
+
526
+ name: VMDK disk image
527
+ - extensions: .vmdk
528
+ - filetypes : vmware4 disk image
529
+ - mimetypes : application/octet-stream
530
+
531
+ name: VirtualBox disk image
532
+ - extensions: .vdi
533
+ - filetypes : virtualbox disk image
534
+ - mimetypes : application/octet-stream
535
+
536
+ Archive format kind: patches
537
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
538
+ name: Patch
539
+ - extensions: .diff, .patch
540
+ - filetypes : diff, patch
541
+ - mimetypes : text/x-diff
542
+
543
+ Archive format kind: special_package
544
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
545
+ name: InstallShield Installer
546
+ - extensions: .exe
547
+ - filetypes : installshield
548
+ - mimetypes : application/x-dosexec
549
+
550
+ name: Nullsoft Installer
551
+ - extensions: .exe
552
+ - filetypes : nullsoft installer
553
+ - mimetypes : application/x-dosexec
554
+
555
+
0 commit comments