Changeset 30395 for other-projects/expeditee-release-kits
- Timestamp:
- 2016-03-08T18:15:48+13:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/expeditee-release-kits/create-expeditee.bat
r30393 r30395 1 1 @echo off 2 2 setlocal 3 4 :: http://stackoverflow.com/questions/203090/how-to-get-current-datetime-on-windows-command-line-in-a-suitable-format-for-us 5 for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b) 6 echo The current date is %mydate% 7 3 8 4 9 :: currentdir (C:\Research\Nightly) … … 40 45 call rke 41 46 47 :: Uploading 48 mkdir uploads 49 copy products\Expeditee-1-windows.exe uploads\Expeditee-1-%mydate%-windows.exe 50 copy rke.out uploads\rke-%mydate%-windows.out 51 set PATH=C:\Windows\System32\linuxtools;C:\Program Files (x86)\PuTTY2;%PATH% 52 :: Works from the cmd line: 53 :: cd uploads && tar.exe -c * | plink.exe -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" [email protected] 54 rem set identity_file=C:\Research\Nightly\tools\keys\upload-expeditee.ppk 55 :: The following setcmd ends up partially running the cmd and uploading everything in snapshots\expeditee onto the remote machine 56 rem set upload_cmd=cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" [email protected] 57 rem echo %upload_cmd% 58 cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" [email protected] 59 42 60 :end 43 61
Note:
See TracChangeset
for help on using the changeset viewer.