docs: public static String tarFiles(String dir, String fileNamePrefix, List<File> fileList)
          throws IOException, CompressorException {
  
          //
          OsUtil.makeDirs(dir);
  
          // 时间
          String curTime = DateUtils.format(new Date(), DataFormatConstants.COMMON_TIME_FORMAT);
  
          // 文件名
          String outputFilePath = fileNamePrefix + "_" + curTime + ".tar.gz";
          File outputFile = new File(dir, outputFilePath);
  
          FileOutputStream out = null;
          out = new FileOutputStream(outputFile);
  
          //
          // 进行打包
          //
          TarArchiveOutputStream os = new TarArchiveOutputStream(out);
          for (File file : fileList) {
              os.putArchiveEntry(new TarArchiveEntry(file, file.getName()));
              IOUtils.copy(new FileInputStream(file), os);
              os.closeArchiveEntry();
          }
  
          if (os != null) {
              try {
                  os.flush();
                  os.close();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
  
          return outputFile.getAbsolutePath();
      }