首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
shell遍历文件夹及去掉文件后缀名
shell遍历文件夹及去掉文件后缀名
mac
2024-11-30
14
#!/bin/bash path=`pwd` echo $path; files=$(ls $path) for filename in $files do filename=${filename%.*} echo $filename done
转载请注明原文地址: https://mac.8miu.com/read-498204.html
最新回复
(
0
)