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

6
LINES

< > BotCompany Repo | #1020667 // zipAllDataDirs - to JavaX-Backup with computer name and date

JavaX fragment (include)

static File zipAllDataDirs() {
  File zip = mkdirsForFile(new File(javaxBackupDir(), computerID() + "-JavaX-Data-" + ymd() + "-" + hms() + ".zip"));
  int count = dir2zip_recurse_honorDontBackupFiles(javaxDataDir(), zip, "JavaX-Data/");
  print("Zip made! " + n2(count, "file") + " zipped to " + renderFileInfo(zip));
  ret zip;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1020667
Snippet name: zipAllDataDirs - to JavaX-Backup with computer name and date
Eternal ID of this version: #1020667/4
Text MD5: 5332a7188af9b65b0535aa8c50434fcf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-02 00:57:31
Source code size: 335 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 307 / 357
Version history: 3 change(s)
Referenced in: [show references]