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

8
LINES

< > BotCompany Repo | #1019313 // moveAllFiles - doesn't recurse, doesn't move directories

JavaX fragment (include)

static L<Pair<File>> moveAllFiles(File fromDir, File toDir) {
  new L<Pair<File>> l;
  for (File f : listFiles_noDirs(fromDir)) {
    moveFileToDirVerbose(f, toDir);
    l.add(pair(fromDir, toDir));
  }
  ret l;
}

Author comment

Began life as a copy of #1015145

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019313
Snippet name: moveAllFiles - doesn't recurse, doesn't move directories
Eternal ID of this version: #1019313/2
Text MD5: a546b8770206d77111acb18b3551b781
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-30 16:52:40
Source code size: 220 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 336
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)