將前面的輸出作爲後面命令的參數的方法(2種)
find / -name ".bash*" -exec ls {} -al ";" | grep bash
find / -name ".bash*" | xargs ls -al
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.