-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path32gb Import (Canon).bat
39 lines (28 loc) · 1.01 KB
/
32gb Import (Canon).bat
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
@ECHO ON
REM set the date as a value for variable "date"
REM go to drive where you want this new folder, make new folder "newFolder"
CD /D D:
MD newFolder
REM ask for input, what you want the folder to be named, set that input to a varaible
SET /P folderName=[Name the folder]
REM rename "newFolder" to what the variable has been set as
CD /D D:
REN "newFolder" %folderName%
REM go into the folder we just renamed and create folders "raw" and "edited"
CD /D D:/%folderName%
MD Edited
MD Raw
REM go into edited and make folders "Images" and "Videos"
CD /D D:/%folderName%/Edited
MD Images
MD Videos
REM go into raw and make folders "Images" and "Videos"
CD /D D:/%folderName%/Raw
MD Images
MD Videos
REM copy images from SD Card to Raw/Images
ROBOCOPY G:/DCIM D:/%folderName%/Raw/Images /E
REM copy videos from SD Card to Raw/Videos
REM ROBOCOPY G:/PRIVATE/AVCHD/BDMV/Stream D:/%folderName%/Raw/Videos /E
REM open the folder in file explorer
START D:/%folderName%