lovelace_1_get_copy.bat

 avatar
user_3364516
batchfile
13 days ago
490 B
2
Indexable
hassio yaml save lovelace convert
@echo off
set "source=\\192.168.1.114\config\.storage"
set "destination=E:\hassio\dailies\scratch"

REM Get the current date in YYYYMMDD format
REM for /F "tokens=1-3 delims=/ " %%a in ('date /T') do set "date=%%c%%b%%a"

REM Create a folder with the current date as the title
REM Rmkdir "%destination%\%date%"

REM Move files with "lovelace" in the name to the created folder
copy "%source%\*lovelace*" "%destination%"

echo Files copied to "%destination%" folder.





Editor is loading...
Leave a Comment