由 wsun013 » 週五 6月 30, 2006 7:37 pm
感謝 Tetralet 兄, 成功了
那再貪心的問.....如果是 [ 在 rename 呢?
eg.
[folder1]
[folder2]
要 rename 成
folder1
folder2
$rename -- 's\/[\\' *
Unmatched [ in regex; marked by <-- HERE in m//[ <-- HERE / at (eval 1) line 1.
rename -- 's\"/"[\\' *
Unmatched [ in regex; marked by <-- HERE in m//[ <-- HERE / at (eval 1) line 1.
看來我真是學藝不精 orz
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GE d->++ s: a-- C+++>++++ UL>++++ P>++++ L++>++++ E---- W+ N@ o K- w++(+)
O- M- V? PS+++(+) PE++(+) Y-- PGP- t>--- 5? X+++ R- tv-(--) b+ DI? D+ G e++>++++
h+(!) r++(%) y*>++++
-------END GEEK CODE BLOCK-------