⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mklinarch

📁 Linus guide, Linus guide, Linus guide,
💻
字号:
#!/bin/bash# mklinarch - a utility to zip up all of the files in the LinuxGuide# directory# Last modified: August 24, 2000# I set variables up here so that it makes it easier for other sites# to zip up the content such as my SourceForge mirror.  These lines# here are probably the only ones you may have to change.# $GUIDEDIRONEDOWN is the directory right under the directory with all the # Linux Guide stuff.GUIDEDIRONEDOWN=/home/jgo/public_html# This is the immediate directory where all the Linux guide stuff is.GUIDEDIR=LinuxGuide# Get down so we can get ready to tar stuff up.cd $GUIDEDIRONEDOWN/ # Remove the old filesrm $GUIDEDIR/jlg.tar.gzrm $GUIDEDIR/jlg.ziprm $GUIDEDIR/jlg.tar.bz2# Get the good stufftar -h --no-recursion -czvf jlg.tar.gz $GUIDEDIR/* $GUIDEDIR/submissions/*zip jlg.zip $GUIDEDIR/* $GUIDEDIR/submissions/*tar -h --no-recursion -cvf jlg.tar $GUIDEDIR/* $GUIDEDIR/submissions/*bzip2 jlg.tar# Move it into the LinuxGuide/ directory - so file locations are just as they# should be on the website mirrormv jlg.tar.gz jlg.zip jlg.tar.bz2 $GUIDEDIR # Put us back into the guide directory. It's just something nice to do.cd $GUIDEDIR 

⌨️ 快捷键说明

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