首页
|
留言板
|
管理
|
写一段script,用来重命名当前文件夹下的一些文件。 - 拳不离手、曲不离口 - Speak with your code, my friend, not your word.
写一段script,用来重命名当前文件夹下的一些文件。
clem
posted @ 2009年3月24日 13:26 in
Algorithm
with tags
bash
, 1035 阅读
将以fig开头的文件改成c文件。
#!/bash/sh
for
filename
in
fig*
do
mv
$filename
$
(
echo
$filename
| sed
's/$/.c/'
)
done
[取消回复评论]
昵称
登录
E-mail:
*
Web:
Twitter:
当有新评论通过 E-mail 通知我
(输入验证码)
or Ctrl+Enter
clem
搜索
Cross-Category
Compiler
Usage
Application
Framework
Library
Kernel
BSP
Hardware
Software Engineering
Data Structure
Algorithm
Language
Gain & Pain
Free Time
最新评论
블록체인개발 : 블록체인개발 코...
토토사이트 : Well we r...
베트남 밤문화 : 베트남 남성전...
안전놀이터 : No.1 먹튀검증...
하노이 가라오케 : 하노이 꼭 ...
标签云
Android
Application
Bootloader
HTML Cache is empty
Java;jsp
Server
bash
ff
firefox
ftp
gray
html validator
icon
java
json
kernel
lamp
library
linux
php
php,zend framework
unix;main()
vsftpd
中断
回顶部
图标
异常
服务器
灰
编程习惯
访问级别
链接
虚位以待