摘要: #include <iostream> #include <sstream> using namespace std;//转string模板函数 template <class T> string toString(const T &v) { ostringstream os; os << v; r 阅读全文
posted @ 2019-04-14 10:26 茫茫明明 阅读(927) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh UNTAR="tar -xvf " #unzip all zip files function unzip_all_file() { for i in *.zip do unzip $i done } #untar all tar.gz files function untar_all_file() { for i in... 阅读全文
posted @ 2019-04-14 10:20 茫茫明明 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: 用法: 删除文件夹 [root@192 Desktop]# ./test.sh d 删除文件 [root@192 Desktop]# ./test.sh f 阅读全文
posted @ 2019-04-14 10:17 茫茫明明 阅读(4544) 评论(1) 推荐(2) 编辑