add pull/push ftp and batch scripts

for transferring files to/from a file server for the purposes of
managing git vcs on the project

these are extensions of previous versions of these scripts that were
used previously but never committed here
This commit is contained in:
Gered 2024-07-19 18:22:29 -04:00
parent 82f2185752
commit a129ef7bac
4 changed files with 93 additions and 0 deletions

12
PULL.BAT Executable file
View file

@ -0,0 +1,12 @@
deltree /y test
deltree /y examples
deltree /y src
del *.md
mkdir test
mkdir examples
mkdir src
ftp 10.0.0.20 < pull.ftp

28
PULL.FTP Executable file
View file

@ -0,0 +1,28 @@
ftp
ftp
binary
prompt
cd Projects/libdgl
mget *.*
cd SRC
lcd SRC
mget *.*
cd ..
lcd ..
cd TEST
lcd TEST
mget *.*
cd ..
lcd ..
cd EXAMPLES
lcd EXAMPLES
mget *.*
cd ..
lcd ..

14
PUSH.BAT Executable file
View file

@ -0,0 +1,14 @@
cd test
wmake clean
cd ..
cd examples
wmake clean
cd ..
cd src
wmake clean
cd ..
ftp 10.0.0.20 < push.ftp

39
PUSH.FTP Executable file
View file

@ -0,0 +1,39 @@
ftp
ftp
binary
prompt
cd Projects/libdgl
mdelete *
mput *
mput *.*
mkdir SRC
cd SRC
lcd SRC
mdelete *
mput *
mput *.*
cd ..
lcd ..
mkdir TEST
cd TEST
lcd TEST
mdelete *
mput *
mput *.*
cd ..
lcd ..
mkdir EXAMPLES
cd EXAMPLES
lcd EXAMPLES
mdelete *
mput *
mput *.*
cd ..
lcd ..