Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1017712 // Make mech-public.zip

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (6601L/45K).

!7

p {
  File zipFile = programFile("mech-public-" + ymdWithMinuses() + ".zip");
  //dir2zip(remoteMechListMirrorsDir(), zipFile);
  ZipOutputStream zipOut = zipOutputStream(zipFile);
  for (S name : namesOfLocalMechListCopies()) {
    Map meta = unstructMap_pcall(loadTextFile(remoteMechListMirrorMetaFile(name)));
    if (cic(getString(meta, "Status"), "PUBLIC READ"))
      zip_addFilesInBaseDir(zipOut, ll(remoteMechListMirrorMetaFile(name), remoteMechListMirrorFile(name)));
  }
  zipOut.close();
  uploadFileToFileServer(zipFile, zipFile.getName());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017712
Snippet name: Make mech-public.zip
Eternal ID of this version: #1017712/8
Text MD5: 1ce9dd7642860316b37cd43b600fe244
Transpilation MD5: 34fbda01b032041fb0e9293c3aec616b
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-09 19:52:47
Source code size: 571 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 463 / 1150
Version history: 7 change(s)
Referenced in: #1018036 - Zip all JavaX Include snippets (from local snippets DB) [Dyn Module]