shell脚本头模板

#!/bin/sh
#Usage:  ./start.sh   name1   create   /tmp/scan  /tmp/data   /tmp/virus   /tmp/log
#$1 = trans_clamav         ---name
#$2 = restart/stop         ---action
#$3 = scan_data            ---the dir to scan
#$4 = src_data             ---the src_dir to save files
#$5 = scan_virus           ---the dir to save virus
#$6 = scan_log             ---the path of the scan log file
#Version   0.0.1  create  2017-06-23 9:30  HuaPi
##################################

你可能感兴趣的:(Linux)