Shell programming problem (Borne Shell or Korn Shell)
登录 | 论坛导航 -> 华新鲜事 -> 技术の宅 | 本帖共有 19 楼,当前显示第 12 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:SmellsLikeTeenSpirit (等级:11 - 出神入化,发帖:6371) 发表:2005-01-07 01:07:13  12楼 
可能是linux专有的吧# rpm -qf `which rename` util-linux-2.12a-16 # man rename RENAME(1) Linux Programmer's Manual RENAME(1) NAME rename - Rename files SYNOPSIS rename from to file... DESCRIPTION rename will rename the specified files by replacing the first occur- rence of from in their name by to. For example, given the files foo1, ..., foo9, foo10, ..., foo278, the commands rename foo foo0 foo? rename foo foo0 foo?? will turn them into foo001, ..., foo009, foo010, ..., foo278. And rename .htm .html *.htm will fix the extension of your html files. SEE ALSO mv(1) 1 January 2000 RENAME(1)
应该是的
War is peace.
Freedom is slavery.
Ignorance is strength.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 19 楼,当前显示第 12 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码