GitHubプロジェクトのすべてのファイルをダウンロードする方法はwget
?
すべてのファイルは元の形式でダウンロードする必要があります。
すでに試しました:
wget -P ~/ https://raw.githubusercontent.com/u/p/b/*
wget -P ~/ https://raw.githubusercontent.com/u/p/b/{*}
wget -P ~/ --accept-regex urlregex https://raw.githubusercontent.com/u/p/b/*
wget -P ~/ --recursive https://raw.githubusercontent.com/u/p/b/
これは以下に関連しています。wget -P ~/ https://raw.githubusercontent.com/u/p/b/{file1,file2...}
u =ユーザー、p =プロジェクト、b =分岐。
ベストアンサー1
1つの方法は次のとおりです。
wget -P ~/ https://github.com/u/p/a/master.zip
unzip ~/master.zip
ここに別のものがあります:
cd
wget https://github.com/u/p/a/master.zip
unzip master.zip
u =ユーザー、p =プロジェクト、a =アーカイブ。