-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileToFolder.js
More file actions
70 lines (61 loc) · 1.24 KB
/
Copy pathFileToFolder.js
File metadata and controls
70 lines (61 loc) · 1.24 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
const corr_folder = {
// Images
".jpg": "IMAGES",
".jpeg": "IMAGES",
".png": "IMAGES",
".gif": "IMAGES",
".bmp": "IMAGES",
".svg": "IMAGES",
".webp": "IMAGES",
// Documents
".pdf": "PDFs",
".doc": "WORD",
".docx": "WORD",
".txt": "TEXT",
".rtf": "TEXT",
".md": "TEXT",
// Presentations
".ppt": "PRESENTATIONS",
".pptx": "PRESENTATIONS",
// Spreadsheets
".xls": "SPREADSHEETS",
".xlsx": "SPREADSHEETS",
".csv": "SPREADSHEETS",
// Code files
".js": "CODE",
".ts": "CODE",
".py": "CODE",
".java": "CODE",
".cpp": "CODE",
".c": "CODE",
".html": "CODE",
".css": "CODE",
".json": "CODE",
".xml": "CODE",
".php": "CODE",
".rb": "CODE",
".go": "CODE",
// Archives
".zip": "ARCHIVES",
".rar": "ARCHIVES",
".7z": "ARCHIVES",
".tar": "ARCHIVES",
".gz": "ARCHIVES",
// Audio/Video
".mp3": "MEDIA",
".wav": "MEDIA",
".mp4": "MEDIA",
".mkv": "MEDIA",
".mov": "MEDIA",
".avi": "MEDIA",
// Fonts
".ttf": "FONTS",
".otf": "FONTS",
".woff": "FONTS",
".woff2": "FONTS",
// Executables
".exe": "EXECUTABLES",
".msi": "EXECUTABLES",
".apk": "EXECUTABLES"
};
module.exports = { corr_folder };