g_lovelace_default_convert.py
a year agotry:
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
a year ago@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
a year ago@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
a year ago@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%"
@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
a year ago@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%"
@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"