Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Shell批量修改文件后缀, 批量格式转换 #4

Open
chenkeao opened this issue Dec 31, 2023 · 0 comments
Open

使用Shell批量修改文件后缀, 批量格式转换 #4

chenkeao opened this issue Dec 31, 2023 · 0 comments

Comments

@chenkeao
Copy link
Owner

https://chenkeao.github.io/p/%E4%BD%BF%E7%94%A8shell%E6%89%B9%E9%87%8F%E4%BF%AE%E6%94%B9%E6%96%87%E4%BB%B6%E5%90%8E%E7%BC%80-%E6%89%B9%E9%87%8F%E6%A0%BC%E5%BC%8F%E8%BD%AC%E6%8D%A2/

shell脚本是处理这类工作最为简单,快捷的方式。 修改后缀 1 for file in *.原后缀; do mv "$file" "echo $file | sed s/.原后缀/.新后缀/"; done 格式转换

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant