Download Jar. Libraryless. Click here for Pure Java version (4341L/28K).
!7 sbool doIt; p { if (isWindows()) ret with print("No Symlinks on Windows"); File base = javaxDataDir(); for (File dir : listDirs(base)) { print("Dir found: " + dir); S id; if (isSnippetID(id = dir.getName())) { S title = getSnippetTitle(id); if (nempty(title)) { S fullName = fileNameEncode(title) + " - " + psI(id); print("Linking " + id + " to " + fullName); if (doIt) makeSymLink(dir, newFile(base, fullName)); } } } }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011387 |
Snippet name: | Make Symlinks in ~/JavaX-Data [dev.] |
Eternal ID of this version: | #1011387/5 |
Text MD5: | f1c19747c2a0df38c0d46b39df9d6a2a |
Transpilation MD5: | e0ffbda8b9ecad7a0dbef11b94c3a43c |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-27 17:40:19 |
Source code size: | 525 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 455 / 1083 |
Version history: | 4 change(s) |
Referenced in: | -