当前位置:网站首页>shell 批量文件名(不含扩展名)小写改大写
shell 批量文件名(不含扩展名)小写改大写
2022-07-07 11:09:00 【海天鹰】
for file in * ;
do mv $file `echo ${file%.*} | tr ‘a-z’ ‘A-Z’`.png;
done
边栏推荐
- SSM框架搭建的步骤
- Cloud detection 2020: self attention generation countermeasure network for cloud detection in high-resolution remote sensing images
- 滑轨步进电机调试(全国海洋航行器大赛)(STM32主控)
- 企业级自定义表单引擎解决方案(十二)--体验代码目录结构
- 达晨与小米投的凌云光上市:市值153亿 为机器植入眼睛和大脑
- 事务的七种传播行为
- The difference between cache and buffer
- 飞桨EasyDL实操范例:工业零件划痕自动识别
- 环境配置篇
- Adopt a cow to sprint A shares: it plans to raise 1.85 billion yuan, and Xu Xiaobo holds nearly 40%
猜你喜欢
通过Keil如何查看MCU的RAM与ROM使用情况
Sequoia China completed the new phase of $9billion fund raising
2022 polymerization process test question simulation test question bank and online simulation test
详细介绍六种开源协议(程序员须知)
Practical example of propeller easydl: automatic scratch recognition of industrial parts
《ASP.NET Core 6框架揭秘》样章[200页/5章]
[crawler] avoid script detection when using selenium
Leetcode question brushing: binary tree 26 (insertion operation in binary search tree)
ISPRS2021/遥感影像云检测:一种地理信息驱动的方法和一种新的大规模遥感云/雪检测数据集
认养一头牛冲刺A股:拟募资18.5亿 徐晓波持股近40%
随机推荐
layer弹出层的关闭问题
明星企业普渡科技大裁员:曾募资超10亿 腾讯红杉是股东
Users, groups, and permissions
Unity build error: the name "editorutility" does not exist in the current context
xshell评估期已过怎么办
Blog recommendation | Apache pulsar cross regional replication scheme selection practice
ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
MySQL入门尝鲜
How to reset Firefox browser
Master formula. (used to calculate the time complexity of recursion.)
About the problem of APP flash back after appium starts the app - (solved)
Go language learning notes - structure
Day-24 UDP, regular expression
Shortcut key of Bash
How does MySQL create, delete, and view indexes?
【无标题】
HZOJ #240. Graphic printing IV
Sed of three swordsmen in text processing
Leetcode skimming: binary tree 25 (the nearest common ancestor of binary search tree)
File operation command