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

6
LINES

< > BotCompany Repo | #1026344 // moveProbablePornFilesToSubdirectory

JavaX fragment (include)

svoid moveProbablePornFilesToSubdirectory(File dir) {
  File subDir = newFile(dir, "private");
  for (File f : listFilesOnly(dir))
    if (ai_containsPornKeywords(fileName(f)))
      moveToDirectoryVerbose(f, subDir);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026344
Snippet name: moveProbablePornFilesToSubdirectory
Eternal ID of this version: #1026344/2
Text MD5: 81d621b1752cd19535c402fe7d014b80
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-25 13:45:17
Source code size: 224 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 130
Version history: 1 change(s)
Referenced in: [show references]