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

8
LINES

< > BotCompany Repo | #1031014 // backupOtherProgramsConceptsNow

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3270L/19K).

// assumes concepts have been written out
static File backupOtherProgramsConceptsNow(S dbID) {
  if (dbID == null) null;
  File f1 = conceptsFile(dbID);
  if (!fileExists(f1)) null;
  File f2 = fileInSameDir(f1, "backups/concepts.structure.gz.backup" + ymd_minus_hms());
  ret copyFile(f1, f2);
}

Author comment

Began life as a copy of #1030029

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031014
Snippet name: backupOtherProgramsConceptsNow
Eternal ID of this version: #1031014/1
Text MD5: 0ba51f2b4fddf40d12de453adfceac97
Transpilation MD5: 14a3cce1717fc81344c03422217dbfd3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-21 16:04:36
Source code size: 303 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 244
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)