-
Notifications
You must be signed in to change notification settings - Fork 5
/
extensionMapper.py
38 lines (36 loc) 路 927 Bytes
/
extensionMapper.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Contains dictionary of mappings for simple scanning.
Defines the folders where a particular filetype will be moved.
"""
extensionsToFolder = {
".pdf": "fz-Documents",
".doc": "fz-Documents",
".docx": "fz-Documents",
".txt": "fz-Documents",
".ppt": "fz-Documents",
".csv": "fz-Documents",
".pptx": "fz-Documents",
".xls": "fz-Documents",
".xlsx": "fz-Documents",
".mp4": "fz-Videos",
".avi": "fz-Videos",
".mkv": "fz-Videos",
".webm": "fz-Videos",
".flv": "fz-Videos",
".mov": "fz-Videos",
".mp3": "fz-Music",
".wav": "fz-Music",
".aac": "fz-Music",
".wma": "fz-Music",
".m4a": "fz-Music",
".flac": "fz-Music",
".jpeg": "fz-Images",
".jpg": "fz-Images",
".png": "fz-Images",
".gif": "fz-Images",
".tiff": "fz-Images",
".raw": "fz-Images",
"default": "fz-Others"
}