This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//.stglobalignore 2020-10-27 | |
// Generic | |
*.part | |
*.crdownload | |
(?)Thumbs.db | |
(?)~$*.* | |
(?)*.tmp | |
// Windows & Users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, os, configparser | |
import win32api | |
FILE_ATTRIBUTE_READONLY = 0x01 | |
FILE_ATTRIBUTE_HIDDEN = 0x02 | |
FILE_ATTRIBUTE_SYSTEM = 0x04 | |
FILE_ATTRIBUTE_NORMAL = 0x80 | |
def customizeFolder(aFolder, depth = 2): |