のは、私はこのようなディレクトリ構造を持っているとしましょう:アリ:同じ名前のサブディレクトリの名前を変更し
- 動物/犬/詳細
- 動物/猫/詳細
- 動物/カエル/詳細
- 動物/馬/詳細
アリ使用して、私はdetails
呼ばanimals
の下にあるすべてのサブディレクトリの名前を変更したいです今度はnew
と命名されました。
- 動物/犬/私は「動物/猫/新
- 動物/カエル/新
- 動物/馬/新
<move tofile="new">
<path id="directories.to.rename">
<dirset dir="animals">
<include name="**/details"/>
</dirset>
</path>
</move>
ただし、このエラーは
Cannot concatenate multiple files into a single file.
可能な複製http://stackoverflow.com/questions/1041213/how-to-rename-a-folder-using-ant –
私はそれが複数のサブ - ディレクトリ。 – digiarnie