1 | svoid moveProbablePornFilesToSubdirectory(File dir) { |
2 | File subDir = newFile(dir, "private"); |
3 | for (File f : listFilesOnly(dir)) |
4 | if (ai_containsPornKeywords(fileName(f))) |
5 | moveToDirectoryVerbose(f, subDir); |
6 | } |
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: | 167 / 201 |
Version history: | 1 change(s) |
Referenced in: | [show references] |