diff --git a/file-in-disk.sh b/file-in-disk.sh index 38a21a5..b1d5dce 100755 --- a/file-in-disk.sh +++ b/file-in-disk.sh @@ -15,7 +15,7 @@ do done if ! diff -q dataset-0.txt dataset-1.txt > /dev/null; then vimdiff -c ":TOhtml | :wq | :q | :q" dataset-0.txt dataset-1.txt - cp Diff.html /var/www/ftp2.westgis.ac.cn/ + cp Diff.html /var/www/ftp2.westgis.ac.cn/diff.html echo "FTP2 dataset file has been changed. Please use the attachment to find the differences." | mail -s "FTP2 dataset file change" -A Diff.html wangliangxu@lzb.ac.cn fi exit 0