1 | static File zipAllDataDirs() { |
2 | File zip = mkdirsForFile(new File(javaxBackupDir(), computerID() + "-JavaX-Data-" + ymd() + "-" + hms() + ".zip")); |
3 | int count = dir2zip_recurse_honorDontBackupFiles(javaxDataDir(), zip, "JavaX-Data/"); |
4 | print("Zip made! " + n2(count, "file") + " zipped to " + renderFileInfo(zip)); |
5 | ret zip; |
6 | } |
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: | 308 / 359 |
Version history: | 3 change(s) |
Referenced in: | [show references] |