Libraryless. Click here for Pure Java version (1713L/11K/37K).
1 | !752 |
2 | |
3 | p { |
4 | L<File> dirs = findDownloadDirectories(); |
5 | for (File dir : dirs) pcall { |
6 | L<File> files = filesOnly(listFiles(dir)); |
7 | if (empty(files)) |
8 | print("No files in " + dir.getPath()); |
9 | else { |
10 | print(l(files) + " files in " + dir.getPath()); |
11 | print(indent(listSomeFiles(files))); |
12 | print(); |
13 | } |
14 | } |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003185 |
Snippet name: | Find user's downloaded files, sorted with oldest first |
Eternal ID of this version: | #1003185/1 |
Text MD5: | 78804a2c0baa51458f21e6a868cf231f |
Transpilation MD5: | caa3a2d1fdda7ede0bd81d7712125800 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-05-25 16:49:11 |
Source code size: | 348 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 585 / 665 |
Referenced in: | [show references] |