g_lovelace_default_convert.py
03/09/2025 1:32 PMtry:
import simplejson as json
except ImportError:
print('simplejson missing, install with "pip install simplejson"')
try:
import yaml
except ImportError:
print('yaml missing, install with "pip install pyyaml"')
READFILE = r"E:\hassio\dailies\scratch\lovelace"
lovelace_3_move_converted.bat
03/09/2025 1:31 PM@echo off
set "source=E:\hassio\dailies\scratch"
set "destination=E:\hassio\dailies"
REM Get the current date in YYYYMMDD format
for /F "tokens=1-3 delims=/ " %%a in ('date /T') do set "date=%%b-%%c-%%a"
REM "date=%%c%%b%%a"
REM Create a folder with the current date as the title
mkdir "%destination%\%date%"
lovelace_2_convert_py.bat
03/09/2025 1:31 PM@echo off "C:\Users\SSD-PC\AppData\Local\Programs\Python\Python39\python.exe" "C:\Program Files (x86)\EventGhost\others\move_files\py_scripts\g_lovelace_default_convert.py"
lovelace_1_get_copy.bat
03/09/2025 1:30 PM@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%"
yaml_3_get_storage_copy_move_date_folder.bat
03/09/2025 1:29 PM@echo off
set "source=\\192.168.1.114\config\.storage"
set "destination=E:\hassio\dailies"
REM Get the current date in YYYYMMDD format
for /F "tokens=1-3 delims=/ " %%a in ('date /T') do set "date=%%b-%%c-%%a"
REM "date=%%c%%b%%a"
REM Create a folder with the current date as the title
mkdir "%destination%\%date%"
yaml_2_get_copy_move_date_folder.bat
03/09/2025 1:29 PM@echo off
set "source=\\192.168.1.114\config"
set "destination=E:\hassio\dailies"
REM Get the current date in YYYYMMDD format
for /F "tokens=1-3 delims=/ " %%a in ('date /T') do set "date=%%b-%%c-%%a"
REM "date=%%c%%b%%a"
REM Create a folder with the current date as the title
mkdir "%destination%\%date%"
yaml_1_esphome_get_copy_move_date_folder.bat
03/09/2025 1:28 PM@echo off
set "source=\\192.168.1.114\config\esphome"
set "destination=E:\hassio\dailies"
REM Get the current date in YYYYMMDD format
for /F "tokens=1-3 delims=/ " %%a in ('date /T') do set "date=%%b-%%c-%%a"
REM "date=%%c%%b%%a"
REM Create a folder with the current date as the title
mkdir "%destination%\%date%\esp-homes"