v.3.0
This commit is contained in:
parent
250eb24a93
commit
f025cb4ac9
5 changed files with 78 additions and 76 deletions
|
|
@ -1,6 +1,8 @@
|
|||
@echo off
|
||||
set root_path=%1
|
||||
set user=%2
|
||||
if "%root_path:~-1%" == "\" set "root_path_1=%root_path:~0,-1%"
|
||||
for %%f in ("%root_path_1%") do set "root_path_name=%%~nxf"
|
||||
FOR /F "eol=# tokens=*" %%i in (%~dp0\..\.env) do SET %%i
|
||||
CD %~dp0
|
||||
rclone.exe copy ../%root_path%/%user% %remote%/%root_path%/%user% --progress
|
||||
rclone.exe copy ../%root_path%/%user% %remote%/%root_path_name%/%user% --progress
|
||||
Loading…
Add table
Add a link
Reference in a new issue