以下是一些在Ubuntu中使用FetchLinux的技巧:
sudo apt update
,sudo apt install fetchlinux
。~/.fetchlinux/fetchlinux.conf
文件,可設置下載的發行版、架構、輸出路徑等參數。fetchlinux download <distro_name>
命令下載指定Linux發行版鏡像,如fetchlinux download ubuntu-20.04
。fetchlinux upload
命令上傳本地文件到遠程服務器,fetchlinux download
命令下載遠程文件到本地,fetchlinux delete
命令刪除遠程文件,fetchlinux ls
命令列出遠程目錄內容。-i
或--ssh-key
選項指定SSH私鑰文件進行身份驗證;-p
或--port
選項指定SSH端口;-x
或--proxy
選項設置代理服務器;-r
或--recursive
選項遞歸操作目錄。