将前面的输出作为后面命令的参数的方法(2种)
find / -name ".bash*" -exec ls {} -al ";" | grep bash
find / -name ".bash*" | xargs ls -al
"apt-get install lftp" or "apt-get install lftp-ssl", i compiled it myself from lftp.yar.ru
lftp上传&下载文件夹(只能使用lftp)
connect to your ftp and input the command:
mirror -R <the local dirname>
this will upload the whole directory.
上传整个文件夹:mirror -R 本地文件夹
or type this:
mirror <the remote dirname> <the local dirname>
this will download the whole directory.
下载整个文件夹:mirror 远端文件夹 本地文件夹