回复 5# 老卡机
为什么说不能。
不知道你有没有用irfanview试过。
复制/重命名规则设置Hx$W\$F
(分辨率长x分辨率宽\元文件名)
输出目录设置为D:\
点run test rename,确认下都OK,直接点start batch就完了。
图片上传失败了,只能50KB?这也太小了。
(就是一个设定画面,选择改名模式,输入改名规则,添加要处理的文件列表)
处理前:- D:\Users\SLORE\Desktop\testimage>tree /F
- D:.
- │ 1_dog.jpg
- │ 2_dog.jpg
- │ 3_dog.jpg
- │ 4_dog.jpg
- │
- └─elephant
- 1_elephant3.jpg
- 2_elephant3.jpg
- 3_elephant3.jpg
- 4_elephant3.jpg
复制代码 dry-run模式测试结果:- Pattern: $Wx$H\$F
-
- Processing file: D:\Users\SLORE\Desktop\testimage\1_dog.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\449x500\1_dog.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\2_dog.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\450x500\2_dog.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\3_dog.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\449x500\3_dog.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\4_dog.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\450x500\4_dog.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\elephant\1_elephant3.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\305x288\1_elephant3.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\elephant\2_elephant3.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\306x288\2_elephant3.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\elephant\3_elephant3.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\305x288\3_elephant3.jpg
-
- Processing file: D:\Users\SLORE\Desktop\testimage\elephant\4_elephant3.jpg
- ... Ok - Warning: Destination file already exists -> Replace: C:\testimage2\306x288\4_elephant3.jpg
-
-
- 8 Files - Errors: 0, Warnings: 8
复制代码 移动后:- C:\testimage2>tree /F
- C:.
- ├─305x288
- │ 1_elephant3.jpg
- │ 3_elephant3.jpg
- │
- ├─306x288
- │ 2_elephant3.jpg
- │ 4_elephant3.jpg
- │
- ├─449x500
- │ 1_dog.jpg
- │ 3_dog.jpg
- │
- └─450x500
- 2_dog.jpg
- 4_dog.jpg
- C:\testimage2>
复制代码 缺点的话,分辨率的文件夹不存在的时候,会出个提示问你是否确认一直点OK就行了,没找到option去关闭。
不过命令行模式应该有。 |