当前位置:网站首页>Shell command learning

Shell command learning

2022-06-25 07:11:00 Nismilesucc

utilize bash shell Batch modify file name

Read the files under the subdirectory of the directory

for file in $(ls $folder)
do 
	cd "${folder}${file}"
	pwd
done

Shell Get the file name in the directory 、 Suffix and operation

Use shell Script , perform python file

conda activate py39
cd folder
source launch.sh
原网站

版权声明
本文为[Nismilesucc]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206250450083466.html