이지우 - bat파일 삭제

This commit is contained in:
jiwoo 2023-09-08 11:30:44 +09:00
parent b8b59fd9dd
commit 4db6f77398
2 changed files with 0 additions and 36 deletions

View File

@ -1,18 +0,0 @@
@echo off
setlocal enabledelayedexpansion
set "scriptname=copyAndRenameMysqlToTibero.bat"
for /r %%i in (*) do (
set "filename=%%~nxi"
if "!filename:Mysql=Tibero!" neq "%%~nxi" (
if "%%~nxi" neq "!scriptname!" (
copy "%%i" "%%~dpi!filename:Mysql=Tibero!"
echo Copied and renamed: "%%i" to "%%~dpi!filename:Mysql=Tibero!"
)
)
)
echo All "Mysql" occurrences in filenames have been replaced with "Tibero" in the copied files.
endlocal
pause

View File

@ -1,18 +0,0 @@
@echo off
setlocal enabledelayedexpansion
set "scriptname=copyAndRenameMysqlToTibero.bat"
for /r %%i in (*) do (
set "filename=%%~nxi"
if "!filename:Cubrid=Tibero!" neq "%%~nxi" (
if "%%~nxi" neq "!scriptname!" (
copy "%%i" "%%~dpi!filename:Cubrid=Tibero!"
echo Copied and renamed: "%%i" to "%%~dpi!filename:Cubrid=Tibero!"
)
)
)
echo All "Cubrid" occurrences in filenames have been replaced with "Tibero" in the copied files.
endlocal
pause