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

8
LINES

< > BotCompany Repo | #1015145 // moveAllFilesWithExtension

JavaX fragment (include)

static L<Pair<File>> moveAllFilesWithExtension(S ext, File from, File to) {
  new L<Pair<File>> l;
  for (File f : listFilesWithExtension(ext, from)) {
    moveFileToDirVerbose(f, to);
    l.add(pair(from, to));
  }
  ret l;
}

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: #1015145
Snippet name: moveAllFilesWithExtension
Eternal ID of this version: #1015145/3
Text MD5: 696032f3f8f0c5d4639243ee1e9a040f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 11:51:00
Source code size: 233 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 360
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019313 - moveAllFiles - doesn't recurse, doesn't move directories