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.
私が持っているとしましょう(linux/unix)
/directory/1/file.wmv /directory/2/file.wmv /directory/3/file.wmv
これらの .wmv ファイルを、1.wmv、2.wmv、3.wmv のようなディレクトリ名にちなんで名付けられたファイルとともに、単一のディレクトリ /example/にコピーしたいと考えています。
for i in {1..10} do cp /directory/$i/file.wmv /example/$i.wmv done