set z=%o\r
) endif\r
\r
- htget http://%url/%1.zi.%z > %y\r
+ htget http://%url/%1.zip.%z > %y\r
rem pause\r
iff NOT "%@FILESIZE[%y,b]" == "0" then\r
- type %y >> %w.zi\r
+ type %y >> %w.zip\r
iff "%@FILESIZE[%y,b]" == "65536" then\r
rem echo o=%o\r
goto oooo\r
endiff\r
iff NOT "%#" == "0" then\r
shift /1\r
- iff exist %w.zi then\r
- unzi %w.zi\r
+ iff exist %w.zip then\r
+ unzip %w.zip\r
del %w.z*\r
endiff\r
goto loop\r
set z=%o\r
) endif\r
\r
- htget http://%url/%1.zi.%z > %y\r
+ htget http://%url/%1.zip.%z > %y\r
rem pause\r
iff NOT "%@FILESIZE[%y,b]" == "0" then\r
- type %y >> %w.zi\r
+ type %y >> %w.zip\r
iff "%@FILESIZE[%y,b]" == "65536" then\r
rem echo o=%o\r
goto oooo\r
endiff\r
iff NOT "%#" == "0" then\r
shift /1\r
- iff exist %w.zi then\r
- unzi %w.zi\r
+ iff exist %w.zip then\r
+ unzip %w.zip\r
del %w.z*\r
endiff\r
goto loop\r
to_os_path=\=/
REMOVECOMMAND=rm -f
COPYCOMMAND=cp -f
+MOVECOMMAND=mv
DIRSEP=/
OBJ=obj
DUMP=cat
to_os_path=/=\
REMOVECOMMAND=del
COPYCOMMAND=copy /y
+MOVECOMMAND=move
DIRSEP=\
OBJ=obj
DUMP=type
www: .symbolic
@for %f in (/var/www/$(EXEC)) do @if exist /var/www/%f $(REMOVECOMMAND) /var/www/%f
@$(REMOVECOMMAND) /var/www/*.exe.zi*
+ @$(REMOVECOMMAND) /var/www/*.zip.zi*
@for %f in ($(EXEC)) do @if exist %f @$(COPYCOMMAND) %f /var/www/
@./src/util/z.sh $(EXEC) $(EXEC)
- @./src/util/z.sh data data
+ @7z a -r data.zip data
+ @./src/util/z.sh data.zip data
+ @$(REMOVECOMMAND) data.zip
@wmake -h wwwext
wwwext: .symbolic
#4ch.mooo.com
@scp -r -P $(HOSTPORT) *.exe $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
@scp -r -P $(HOSTPORT) *get.bat $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
- @scp -r -P $(HOSTPORT) /var/www/*.exe.zi.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
+ @scp -r -P $(HOSTPORT) /var/www/*.exe.zip.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
#@scp -r -P $(HOSTPORT) $(DATADIR)spri.zip $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
- @scp -r -P $(HOSTPORT) /var/www/data.zi.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
+ @scp -r -P $(HOSTPORT) /var/www/data.zip.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
wwwext2: .symbolic
#beta.latech.edu
@scp -r -P $(HOST2PORT) *.exe $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
@scp -r -P $(HOST2PORT) *get.bat $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
- @scp -r -P $(HOST2PORT) /var/www/*.exe.zi.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
+ @scp -r -P $(HOST2PORT) /var/www/*.exe.zip.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
#@scp -r -P $(HOST2PORT) $(DATADIR)spri.zip $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
- @scp -r -P $(HOST2PORT) /var/www/data.zi.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
+ @scp -r -P $(HOST2PORT) /var/www/data.zip.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
getwww: .symbolic
*x4get.bat $(EXEC)
#!/bin/bash
while [ -n "$1" ]
do
- 7z a -v64k -r /var/www/"$1".zi "$1"
- echo 7z a -v64k -r /var/www/"$1".zi "$1"
+ 7z a -v64k -r /var/www/"$1".zip "$1"
+ echo 7z a -v64k -r /var/www/"$1".zip "$1"
shift
done
set z=%o\r
) endif\r
\r
- htget http://%url/%1.zi.%z > %y\r
+ htget http://%url/%1.zip.%z > %y\r
rem pause\r
iff NOT "%@FILESIZE[%y,b]" == "0" then\r
- type %y >> %w.zi\r
+ type %y >> %w.zip\r
iff "%@FILESIZE[%y,b]" == "65536" then\r
rem echo o=%o\r
goto oooo\r
endiff\r
iff NOT "%#" == "0" then\r
shift /1\r
- iff exist %w.zi then\r
- unzi %w.zi\r
+ iff exist %w.zip then\r
+ unzip %w.zip\r
del %w.z*\r
endiff\r
goto loop\r