text
echo Checking vefatica.net
echo Checking lucky.syr.edu...
echo Checking prospero.unm.edu...
echo Checking jpsoft's event11.zip...
echo Checking jpsoft's everything.zip...
echo Checking jpsoft's fedutils9.zip
echo Checking Prospero's RegTweaks.btm
echo Checking http://www.horstmuc.de/index.html (need to work on 11/9/2016 6:00PM )
echo https://jpsoft.com/forums/threads/duplicate-files-in-multiple-plugin-sites.10778/#post-60704
endtext
set sRootFldr=C:\TCMD\MyPlugins
echo ---------------------------------
timer on
rem
rem https://jpsoft.com/forums/threads/cant-access-updated-plugins-at-ftp-lucky-syr-edu-4plugins.7372/page-2#post-42288
rem https://jpsoft.com/forums/threads/is-lucky-syr-edu-dead.8782/#post-49450
rem
echo Checking vefatica.net ... (backup of lucky.syr.edu)
copy /a: /e /f /g /md /nr /s /u /v /w "ftp://vefatica.net/*" %sRootFldr%\vefatica.net\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
goto :Prospero
timer on
rem
rem https://jpsoft.com/forums/threads/cant-access-updated-plugins-at-ftp-lucky-syr-edu-4plugins.7372/page-2#post-42288
rem
echo Checking lucky.syr.edu...
copy /a: /e /f /g /md /nr /s /u /v /w "ftp://lucky.syr.edu/*" /[! *mb.rnd *.bin arnex4.jpg thumbs.db *.png] %sRootFldr%\lucky.syr.edu\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
:Prospero
timer on
rem
rem for more information please see https://jpsoft.com/forums/threads/timeout-on-ftp-prospero-unm-edu.6616/
rem site is now mirrored at ftp://lucky.syr.edu/chasdye/*
rem https://jpsoft.com/forums/threads/plugins.7702/#post-44010
rem
echo Checking prospero.unm.edu...
copy /a: /e /f /g /md /nr /s /u /v /w "ftp://prospero.unm.edu/*" /[! src/* *.exe version.sav ] %sRootFldr%\prospero.unm.edu\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking jpsoft's event11.zip...
copy /a: /e /f /g /md /nr /s /u /v /w "http://jpsoft.com/downloads/plugins/event11.zip" %sRootFldr%\jpsoft.com\downloads\plugins\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking jpsoft's everything.zip...
copy /a: /e /f /g /md /nr /s /u /v /w "http://jpsoft.com/downloads/plugins/everything.zip" %sRootFldr%\jpsoft.com\downloads\plugins\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking jpsoft's fedutils9.zip
copy /a: /e /f /g /md /nr /s /u /v /w "http://jpsoft.com/downloads/plugins/fedutils9.zip" %sRootFldr%\jpsoft.com\downloads\plugins\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking Prospero's RegTweaks.btm
copy /a: /e /f /g /md /nr /s /u /v /w "http://prospero.unm.edu/dl/RegTweaks.btm" c:\TCMD\Orig_RegTweaks\
echo.
echo Dirs made: %@format[5,%_copy_dirs] Files copied: %@format[5,%_copy_files] Errors: %@format[5,%_copy_errors]
echo.
timer off
::==================================================================================================================================
echo %@repeat[=,80]
plugin /u FixNames
rem pkzipc -extr=update -dir %sRootFldr%\prospero.unm.edu\fixnames.zip c:\TCMD\Plugins\fixnames\
rem
rem what does [d -u- -uq1x1w1!tmp1.zip] below mean?
rem
rem d = Deletes files from archive.
rem -u- = Specifies how to update files in an archive and (or) how to create new archives.
rem -u =
rem q1 = File exists in archive, but doesn't exist on disk. Copy file (copy from old archive to new)
rem x1 = File in archive is newer than the file on disk. Copy file (copy from old archive to new)
rem w1 = Can not be detected what file is newer (times are the same, sizes are different)
rem !{new_archive_name} = create new archive with the specified name and all options will refer to that new archive.
rem
"C:\Program Files\7-Zip\7z.exe" d -u- -uq1x1w1!tmp1.zip %sRootFldr%\prospero.unm.edu\fixnames.zip c:\TCMD\Plugins\fixnames\
Pause
rem list contents of tmp1.zip and pause
"C:\Program Files\7-Zip\7z.exe" L tmp1.zip
Pause
rem extract to fixnames, updated files,
"C:\Program Files\7-Zip\7z.exe" x -oc:\TCMD\Plugins\fixnames\ -y tmp1.zip
Pause
plugin /l c:\TCMD\Plugins\fixnames\FixNames.dll
Pause
echo %@repeat[=,80]
::==================================================================================================================================
echo %@repeat[=,80]
plugin /u Sysutils
rem pkzipc -extr=update -dir %sRootFldr%\lucky.syr.edu\4plugins\X64\sysutils64.zip c:\TCMD\Plugins\SysUtils64\
rem
rem what does [d -u- -uq1x1w1!tmp1.zip] below mean?
rem
rem d = Deletes files from archive.
rem -u- = Specifies how to update files in an archive and (or) how to create new archives.
rem -u =
rem q1 = File exists in archive, but doesn't exist on disk. Copy file (copy from old archive to new)
rem x1 = File in archive is newer than the file on disk. Copy file (copy from old archive to new)
rem w1 = Can not be detected what file is newer (times are the same, sizes are different)
rem !{new_archive_name} = create new archive with the specified name and all options will refer to that new archive.
rem
"C:\Program Files\7-Zip\7z.exe" d -u- -uq1x1w1!tmp2.zip %sRootFldr%\prospero.unm.edu\SysUtils64.zip c:\TCMD\Plugins\SysUtils64\
Pause
rem list contents of tmp2.zip and pause
"C:\Program Files\7-Zip\7z.exe" L tmp2.zip
Pause
rem extract to SysUtils64, updated files,
"C:\Program Files\7-Zip\7z.exe" x -oc:\TCMD\Plugins\SysUtils64\ -y tmp2.zip
plugin /l c:\tcmd\Plugins\SysUtils64\sysutils64.dll
Pause
echo %@repeat[=,80]
::==================================================================================================================================
del tmp[12].zip