当前位置: 技术问答>linux和unix
为什么rename 不好使?
来源: 互联网 发布时间:2015-08-23
本文导语: rename a b 名字没变化 | 我有同樣的問題出現,你可以用mv a b來代替rename. | RENAME(1) Linux Programmer’s Manual RENAME(1) NAME ...
rename a b 名字没变化
|
我有同樣的問題出現,你可以用mv a b來代替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)
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)
|
呵呵,一般的改名用mv。 rename是按规则改名。
|
一般用MV,这个有移动和改名字两种功能
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。