1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-28 07:02:55 +08:00
basic_verilog/scripts/cp_recursively.bat
2022-06-16 06:59:32 +03:00

32 lines
1.2 KiB
Batchfile

@echo off
rem ------------------------------------------------------------------------------
rem cp_recursively.bat
rem published as part of https://github.com/pConst/basic_verilog
rem Konstantin Pavlov, pavlovconst@gmail.com
rem ------------------------------------------------------------------------------
rem Use this script to walk through all subdirs and update files with
rem specific names to the latest version
echo INFO: =====================================================================
echo INFO: cp_recursively.bat
echo INFO: The script may sometimes take a long time to complete
for /R /d %%D in (*) do (
rem echo %%~fD
cd %%~fD
if exist clean_recursively.bat cp -dv j:\basic_verilog\scripts\clean_recursively.bat .\clean_recursively.bat
if exist clean_quartus.bat cp -dv j:\basic_verilog\scripts\clean_quartus.bat .\clean_quartus.bat
if exist clean_vivado.bat cp -dv j:\basic_verilog\scripts\clean_vivado.bat .\clean_vivado.bat
if exist clean_gowin.bat cp -dv j:\basic_verilog\scripts\clean_gowin.bat .\clean_gowin.bat
if exist clean_modelsim.bat cp -dv j:\basic_verilog\scripts\clean_modelsim.bat .\clean_modelsim.bat
)
pause
goto :eof