$ aptitude install pyrenamer
俺一直用它,很好的。
2010/1/22 User :
>
>
> 如题,记得曾经见过这样的命令行小工具,现在一下子想不起来了。从
> Windows 上复制了一大堆文件过来,好多大写字母,想一次性批量转化成小写。
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.o
User 写道:
> 如题,记得曾经见过这样的命令行小工具,现在一下子想不起来了。从
> Windows 上复制了一大堆文件过来,好多大写字母,想一次性批量转化成小写。
>
>
>
>
>
试试sed
--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
2010/1/23 User :
> 如题,记得曾经见过这样的命令行小工具,现在一下子想不起来了。从
> Windows 上复制了一大堆文件过来,好多大写字母,想一次性批量转化成小写。
rename 'y/A-Z/a-z/' *
2010/1/23 User :
>
>
> 如题,记得曾经见过这样的命令行小工具,现在一下子想不起来了。从
> Windows 上复制了一大堆文件过来,好多大写字母,想一次性批量转化成小写。
#!/bin/bash
D=$(dirname $1)
F=$(basename $1)
mv $D/$F $D/${F,,}
- Kanru
如题,记得曾经见过这样的命令行小工具,现在一下子想不起来了。从
Windows 上复制了一大堆文件过来,好多大写字母,想一次性批量转化成小写。
--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
5 matches
Mail list logo