Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
video_editing:davinci_resolve_in_the_cloud [2021/03/20 10:54] – david | video_editing:davinci_resolve_in_the_cloud [2021/03/20 10:59] – david | ||
---|---|---|---|
Line 311: | Line 311: | ||
SET drive_location=D: | SET drive_location=D: | ||
REM SET drive_location=C: | REM SET drive_location=C: | ||
- | + | ||
- | SET project_list=LariceaBook | + | SET project_list=LariceaBook |
+ | |||
REM =========================================================================== | REM =========================================================================== | ||
REM Set varialbes used in script | REM Set varialbes used in script | ||
REM =========================================================================== | REM =========================================================================== | ||
+ | |||
SET local_project_location=%drive_location% | SET local_project_location=%drive_location% | ||
SET s3_project_location=s3:// | SET s3_project_location=s3:// | ||
+ | |||
echo Local project location: %local_project_location% | echo Local project location: %local_project_location% | ||
echo S3 project location: %s3_project_location% | echo S3 project location: %s3_project_location% | ||
+ | |||
REM =========================================================================== | REM =========================================================================== | ||
REM Create some local directories | REM Create some local directories | ||
REM =========================================================================== | REM =========================================================================== | ||
+ | |||
mkdir %drive_location% | mkdir %drive_location% | ||
mkdir D:\MEDIA | mkdir D:\MEDIA | ||
+ | |||
REM =========================================================================== | REM =========================================================================== | ||
REM Pull projects down | REM Pull projects down | ||
REM =========================================================================== | REM =========================================================================== | ||
+ | |||
FOR %%i in (%project_list%) do ( | FOR %%i in (%project_list%) do ( | ||
- | echo aws s3 cp %s3_project_location%/ | + | aws s3 cp %s3_project_location%/ |
) | ) | ||
+ | |||
pause | pause | ||
</ | </ |