📄 update-home-page
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -