Skip to content
Snippets Groups Projects
  1. Apr 01, 2024
  2. Mar 29, 2024
  3. Mar 28, 2024
  4. Mar 23, 2024
  5. Mar 10, 2024
    • Johannes Schauer Marin Rodrigues's avatar
      Replace unzip with bsdtar · 1644e892
      Johannes Schauer Marin Rodrigues authored
      bsdtar can do the same job as unzip but without all the problems that
      the unzip CLI comes with. Instead, bsdtar provides an interface which
      should be familiar to users of GNU tar and has support for long options.
      Problems with the unzip CLI include:
      
       - the -v (verbose) option prohibits extraction and just lists the zip
         file members (analogous to the -t option of tar)
       - but if -v is given without other arguments prints version
         information
       - by default, unzip applies a filter mangling extracted filenames
         unless the -^ option is used to override this behaviour
       - unzip treats all arguments (zip filenames and member names) as
         wildcards. The man page calls them regular expressions but they are
         just globs.
       - unable to read archives from standard input
      
      For more fun, try to read the unzip man page. Read the man page
      especially if Acord, AtheOS, Tandem, VMS, Amiga, OS/2, Windows NT or
      MS-DOS are things you have fond thoughts for.
      1644e892
  6. Feb 21, 2024
  7. Jan 04, 2024
  8. Jan 03, 2024
  9. Jan 01, 2024
  10. Oct 31, 2023
  11. Oct 25, 2023
  12. Oct 24, 2023
  13. Oct 23, 2023
  14. Oct 20, 2023
  15. Oct 02, 2023
  16. Sep 26, 2023
Loading