How to iterate through directory and entering each subdirectory to pick a file with .fa extension and converting this to a .dmnd file?

前端 未结 0 1520
心在旅途
心在旅途 2020-11-21 07:37

I have the following bash script

for dir in ~/home/directory/
do
    for file in "$dir"/*
    do
        if [ ${file: -3}==".fa" ]
                


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