-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
33 lines (33 loc) · 1.54 KB
/
config.py
File metadata and controls
33 lines (33 loc) · 1.54 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
LOG_FILE_INFO = 'info.log'
LOG_FILE_ERROR = 'error.log'
OTHERS_CATEGORY = 'Others'
DIRECTORY_MAPPING = {
'Documents': ['.txt', '.pdf', '.doc', '.docx', '.xls', '.xlsx', '.csv', '.ppt', '.pptx', '.odt', '.ods', '.rtf'],
'Images': ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.svg', '.webp'],
'Audio': ['.mp3', '.wav', '.flac', '.aac', '.ogg', '.wma', '.m4a', '.opus'],
'Video': ['.mp4', '.avi', '.mkv', '.mov', '.wmv', '.flv', '.webm', '.m4v', '.mpg', '.mpeg'],
'Code': [
'.html', '.css', '.js', '.json', '.xml', '.yaml', '.yml', '.php', '.py', '.java', '.cpp', '.c', '.cs',
'.rb', '.swift', '.ts', '.jsx', '.tsx', '.scss', '.sass', '.less', '.pl', '.lua', '.go',
'.rust', '.dart', '.scala', '.kotlin', '.asm', '.vbs', '.ejs'
],
'Archives': ['.zip', '.rar', '.7z', '.tar', '.gz', '.tgz', '.bz2', '.xz'],
'Ebooks': ['.epub', '.mobi', '.azw'],
'Scripts': ['.sh', '.bash', '.ps1', '.bat', '.cmd'],
'Shortcuts': ['.lnk', '.url', '.desktop', '.webloc'],
'Fonts': ['.ttf', '.otf', '.woff', '.woff2'],
'Executable': ['.exe', '.msi', '.app'],
'Configuration': ['.ini', '.cfg', '.conf'],
'Text': ['.md', '.markdown', '.rst', '.tex', '.asciidoc'],
'Backup': ['.bak', '.old'],
'Presentations': ['.key'],
'Calendar': ['.ics'],
'Contacts': ['.vcf'],
'Database': ['.sql', '.db', '.sqlite', '.sqlite3'],
'Torrents': ['.torrent'],
'Emails': ['.eml', '.msg'],
'Logs': ['.log'],
'ISO': ['.iso'],
'SRT': ['.srt'],
'Subtitles': ['.sub', '.sbv', '.vtt'],
}