删除空文件夹rd /s/q "D:\Program Files\afish"删除里面的文件del /a/f/q "D:\Program Files\afish\123.txt"注意:路径带空格,加引号介绍几个命令:dir 显示目录和文件cd 进入目录del 删除文件rd 删除空目录(目录中不能有.....
分类:
其他好文 时间:
2014-09-07 10:54:34
阅读次数:
283
这是个很简单的需求,可是API只提供了一个几乎没什么用的函数remove-dir 要求目录必须为空。因此我写了一个函数来递归删除目录树:(define (make-sure-folder-path-end-of-slash dir-path)
(if (!= (last dir-path) "/")
(push "/" dir-path -1)
)
dir-path
)...
分类:
其他好文 时间:
2014-09-06 16:10:33
阅读次数:
348
<?xmlversion="1.0"encoding="UTF-8"?><projectname="ads_build"basedir="/data/jenkins/jobs/ads_api/workspace/"default="build_app"><propertyname=‘base.dir‘value=‘.‘></property><propertyname="ads.dir"value="${base.dir}/ads-api"><..
分类:
其他好文 时间:
2014-09-06 02:18:23
阅读次数:
316
MAXScript 官方文档里关于获取文件夹下所有文件的方法fn getFilesRecursive root pattern =(dir_array = GetDirectories (root+"/*")for d in dir_array do join dir_array (GetDire....
分类:
其他好文 时间:
2014-09-05 17:52:41
阅读次数:
370
hadoop分散磁盘I/O配置dfs.data.dir,将其值配置为多块磁盘<key>dfs.data.dir</key><value>/data/data1,/data/data2,/data/data3</value>####假设多块磁盘被挂在以上目录中2.mapreduce中间数据临时文件分散写老的配置参数为,mapred.local.dir,新配置..
分类:
其他好文 时间:
2014-09-05 16:25:12
阅读次数:
163
文件位置ECSHOP根目录\includes\init.php在$smarty->assign(‘ecs_charset‘,EC_CHARSET);下面增加$smarty->assign(‘template_dir‘,‘themes/‘.$_CFG[‘template‘]);在模板中就直接调用可以参考下面的css调用的方法:if(!empty($_CFG[‘stylename‘])){$smarty->assign(‘ecs..
分类:
其他好文 时间:
2014-09-05 14:31:02
阅读次数:
204
windows 下,清除.svn FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"You can also issue the line below straight from the Command Pro...
百度查到http://stackoverflow.com/questions/19794200/gradle-android-and-the-android-home-sdk-location按照其中的讲解设置了ANDROID_HOME环境变量为E:\android\adt-bundle-windo...
分类:
移动开发 时间:
2014-09-04 23:36:40
阅读次数:
981
*manpages*File: *manpages*, Node: crontab, Up: (dir)CRONTAB(1) General Commands Manual CRONTAB(1)NAME crontab - maintain crontab files for individual ...
分类:
系统相关 时间:
2014-09-04 22:10:50
阅读次数:
488
3.1 按照版本导出
[oracle@host2 ~]$ expdp system/oracle tablespaces=u1 dumpfile='u1_version.dump' directory=dump_dir version=10.2.0.1.0
[oracle@host2 oracle]$ impdp system/oracle tablespaces=u1 directory=dump dumpfile='u1_version.dump' version=10.2.0.1.0
3.2 ...
分类:
数据库 时间:
2014-09-04 14:56:09
阅读次数:
306