How to loop through all files in dir, run script, and write them into matching files in other dir

后端 未结 0 472
误落风尘
误落风尘 2021-02-04 02:57

I have files in a directory:

mkdir in_dir
echo \'a\' > in_dir/file1.txt
echo \'b\' > in_dir/file2.txt
echo \'c\' > in_dir/file3.txt

mkdir out_dir


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题