#!/bin/sh HOST=172.16.2.X USER=kg_sftp PASS=tnzk4a7w echo "Starting to sftp..." lftp -u ${USER},${PASS} sftp://${HOST} <<EOF cd /kagou/datafile mget *.* bye EOF echo "done"
另:sql
加密腳本可使用ide
gzexe filename加密