1.0.0 • Published 9 years ago
jiangcommands v1.0.0
rename file names in a directory in batch
command : rename
-n : make the index as the filename
-c : add prefix to the filename
-p : add postfix to the filename
-s : do rename work in a sync way
-p : get help
examples:
rename -n # abc.png to 1.png
rename -c abc_ # abc.png to abc_abc.png
rename -p _post # abc.png to abc_post.png
rename -c abc_ -p _post # abc.png to abc_abc_post.png
rename -c abc_ -p _post -n # abc.png to abc_1_post.png
generate images gallery
command : gallery
1.0.0
9 years ago