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

15
LINES

< > BotCompany Repo | #1003185 // Find user's downloaded files, sorted with oldest first

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1713L/11K/37K).

!752

p {
  L<File> dirs = findDownloadDirectories();
  for (File dir : dirs) pcall {
    L<File> files = filesOnly(listFiles(dir));
    if (empty(files))
      print("No files in " + dir.getPath());
    else {
      print(l(files) + " files in " + dir.getPath());
      print(indent(listSomeFiles(files)));
      print();
    }
  }
}

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: 480 / 519
Referenced in: [show references]