01 2016 档案

Shell --- 批量修改文件后缀脚本
摘要:for f in *.$1;do filename=`basename $f` mv $f "${filename%.*}".$2;done;Usage::renamesuffixrename_suffixeg:renamedattxt> ls> a.dat> rename dat tx... 阅读全文

posted @ 2016-01-18 19:31 RookieCoder 阅读(269) 评论(0) 推荐(0)

Leetcode 312. Burst Balloons
摘要:Givennballoons, indexed from0ton-1. Each balloon is painted with a number on it represented by arraynums. You are asked to burst all the balloons. If ... 阅读全文

posted @ 2016-01-10 17:19 RookieCoder 阅读(228) 评论(0) 推荐(0)

导航