Download Jar. Libraryless. Click here for Pure Java version (10085L/72K).
1 | !7 |
2 | |
3 | p-exp { |
4 | agiBlue_whiteListMe(); |
5 | SS idToMD5 = fileServer_IDsAndMD5s(); |
6 | //pnl(idToMD5); |
7 | for (File f : listFilesStartingWith("blob_", programDir(#1010733))) { |
8 | print(fileName(f)); |
9 | int id = parseInt(dropPrefix("blob_", fileName(f))); |
10 | if (id == 0) continue with print("Skipping: " + f); |
11 | S md5 = idToMD5.get(str(id)); |
12 | S newMD5 = fileMD5(f); |
13 | if (nempty(md5)) |
14 | if (eq(md5, newMD5)) |
15 | continue with print("Snippet " + id + " exists"); |
16 | else |
17 | continue with print("Snippet differs? " + id); |
18 | |
19 | uploadToFileServerWithFixedID(f, snippetTitle(id), fsI(id)); |
20 | } |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026059 |
Snippet name: | Migrate SourceForge snippets to new file server [OK] |
Eternal ID of this version: | #1026059/8 |
Text MD5: | d8932cdc018c674bda9200e21f9fb97c |
Transpilation MD5: | 30f497c65a5d5d9d4212280d5a278f71 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-18 21:17:00 |
Source code size: | 632 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 273 / 1016 |
Version history: | 7 change(s) |
Referenced in: | [show references] |