Usage: pren [-v] [-n] [-f] perlexpr [filenames]
C:\test>dir /b | pren -n "s/(\..+$)/_bak$1/; s/(^[^.]+$)/$1_bak/" reading filenames from STDIN 1.txt renamed as 1_bak.txt 2.jpg renamed as 2_bak.jpg abc renamed as abc_bak |
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |