update-home-page

来自「用JAVA编写的软件度量方面的源码」· 代码 · 共 31 行

TXT
31
字号
#!/bin/bash# TBD: tar bz2 the homepages, scp the tar file and untar the file on the server./verify-html# Read the user name firstread -p "(SourceForge) User name: " userexport htdocs="/home/groups/m/me/metricsanalyzer/htdocs"export account="${user}@shell.sourceforge.net"# Build stuff for homepages./build-javadoc# Compose home page content in a tmp dirmkdir tmpcp -r ../doc tmpcp ../index.html tmprm -rf `find tmp -path '*CVS*'`chmod a+rx `find tmp -path '*'`# Remove the old pagesssh ${account} "rm -rf ${htdocs}/*"# Transfer the home page content to the serverscp -r -p tmp/* "${account}:${htdocs}"# Remove tmp dirrm -rf tmp

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?