Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
いくつかの xml とクラスを含む TAR を作成しました。別のサーバーでは、これらのファイルをさまざまなディレクトリに配置する必要があります。インストール可能ファイルのようなものは可能ですか?
CentOS の使用
ありがとう
package.format と、そのフォーマットから抽出してファイルを相対位置または絶対位置 (わかっている場合) に移動する python スクリプトを用意するだけで簡単にできます。それはあなたが探しているものですか?
zipfileを使用して解凍/圧縮し、shutilおよびosを使用してファイルを移動/削除/変更できます。