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

4
LINES

< > BotCompany Repo | #1016193 // copyFileIfSizeDifferent

JavaX fragment (include)

public static void copyFileIfSizeDifferent(File src, File dest) {
  if (fileSize(src) != fileSize(dest))
    copyFile(src, dest);
}

Author comment

Began life as a copy of #1000843

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: #1016193
Snippet name: copyFileIfSizeDifferent
Eternal ID of this version: #1016193/1
Text MD5: 8a0e93a3a506eb13b12de2232e703df3
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 00:51:38
Source code size: 134 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 386 / 399
Referenced in: [show references]