-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.json
More file actions
41 lines (41 loc) · 2.26 KB
/
rules.json
File metadata and controls
41 lines (41 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"CategoryRules": [
{ "Name": "Images", "Extensions": [".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tif", ".tiff", ".webp", ".svg", ".heic", ".ico", ".raw", ".cr2", ".nef"] },
{ "Name": "Videos", "Extensions": [".mp4", ".mov", ".avi", ".mkv", ".wmv", ".webm", ".flv", ".mpeg", ".mpg", ".m4v"] },
{ "Name": "Audio", "Extensions": [".mp3", ".wav", ".flac", ".aac", ".ogg", ".m4a", ".wma", ".aiff", ".alac"] },
{ "Name": "Documents", "Extensions": [".pdf", ".doc", ".docx", ".txt", ".rtf", ".odt", ".md", ".tex"] },
{ "Name": "Spreadsheets", "Extensions": [".xls", ".xlsx", ".csv", ".tsv", ".ods"] },
{ "Name": "Presentations", "Extensions": [".ppt", ".pptx", ".odp", ".key"] },
{ "Name": "Archives", "Extensions": [".zip", ".rar", ".7z", ".tar", ".gz", ".bz2", ".xz", ".iso"] },
{ "Name": "Code", "Extensions": [".ps1", ".psm1", ".psd1", ".bat", ".cmd", ".py", ".js", ".jsx", ".ts", ".tsx", ".html", ".css", ".scss", ".json", ".xml", ".yaml", ".yml", ".sql", ".java", ".c", ".cpp", ".cs", ".go", ".rs", ".php", ".rb", ".sh", ".ipynb"] },
{ "Name": "Design", "Extensions": [".psd", ".ai", ".fig", ".sketch", ".xd"] },
{ "Name": "Fonts", "Extensions": [".ttf", ".otf", ".woff", ".woff2"] },
{ "Name": "Ebooks", "Extensions": [".epub", ".mobi", ".azw3"] },
{ "Name": "Executables", "Extensions": [".exe", ".msi", ".msix", ".appx"] },
{ "Name": "Shortcuts", "Extensions": [".lnk", ".url"] }
],
"KeywordRules": [
{ "Name": "Invoices", "Keywords": ["invoice", "receipt", "bill"] },
{ "Name": "Contracts", "Keywords": ["contract", "agreement", "nda"] },
{ "Name": "Screenshots", "Keywords": ["screenshot", "screen shot", "capture"] }
],
"ExcludeRules": {
"IgnoreHiddenFiles": true,
"IgnoreSystemFiles": true,
"Extensions": [".tmp", ".bak", ".part"],
"FolderNames": ["_organized", ".git", "node_modules", "bin", "obj"],
"MinFileSizeBytes": null,
"MaxFileSizeBytes": null
},
"NamingRules": {
"FileNameTemplate": "{originalName}",
"InvalidCharacterReplacement": "_"
},
"SizeBands": [
{ "Name": "Tiny", "MaxBytes": 1023 },
{ "Name": "Small", "MaxBytes": 10485759 },
{ "Name": "Medium", "MaxBytes": 104857599 },
{ "Name": "Large", "MaxBytes": 1073741823 },
{ "Name": "Huge", "MaxBytes": null }
]
}