ChinaUnix.net
相关文章推荐:

nor find file

本帖最后由 hjfeng1988 于 2015-05-26 17:22 编辑 [code][hujf@93a ~]$ ls -R * 2014: 10 11 12 2014/10: c d e 2014/11: c d e 2014/12: c d e 2015: [hujf@93a ~]$ find . -type d -name '1[0-9]' ./2014/10 ./2014/11 ./2014/12 [hujf@93a ~]$ find . -type d -name '1[0-9]' -exec rm -r {} \; find: ./2014/10: No such file or directory find: ./2014/11: No such file or directory find: ./2014/12: No such file ...

by hjfeng1988 - Shell - 2015-05-27 12:58:08 阅读(2137) 回复(8)

相关讨论

cscope的新手,看到网上说,按照绝对路径搜索,可以使用环境变量来告诉vim cscope的DB在哪里,这样就方便了 我写的脚本如下:[code]#! /bin/bash PWD=`pwd` find $PWD -name "*.h" -o -name "*.c" -o -name "*.cc" -o -name "*.hxx" -o -name "*.cxx" -o -name "*.cpp" > cscope.files[/code]生成了cscop.files文件,但是我在使用 cscope -bq 的时候,却报错说 cscope: cannot find file XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...

by alexandnpu - C/C++ - 2011-07-25 17:48:34 阅读(7237) 回复(3)

windows系统下想对100+个文件夹重命名 按时间顺序在文件夹名字前加序号 如 文件夹1 文件夹2 ... 重命名后 001文件夹1 002 文件夹2 用File::find 不知怎样按时间排序 或者有其他什么办法

by summerfall0 - Perl - 2011-07-20 14:59:16 阅读(2470) 回复(2)

请问, Active Perl 中的 File:find 支持超长文件名的查找吗? File:find 版本是:1.12 ,最新的1.14也试过,perl版本是:5.10.0.1004,看如下代码: use strict; use File::find; my $dest_dir=shift @ARGV; my $sysvol='System Volume Information'; my $recycle='RECYCLER'; find(\&get_dest,$dest_dir); sub get_dest{ print "$File::find::name \n" ; } 当查找目录中有文件名长达上百个汉字的文件时,windows会跳出...

by justin764 - Perl - 2009-11-06 09:41:34 阅读(1477) 回复(2)

In Eclipse, at runtime, the following piece of code could not work Properties props = new Properties(); try { props.load(new FileInputStream("test.properties")); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } System.out.println(props.getProperty("test")); Because eclipse can not recogi...

by megazeng - Java文档中心 - 2007-04-07 14:59:02 阅读(1276) 回复(0)

u can use newer/cnewer/anewer to find files newer than a file, but how about to find the older files?

by flightbird - Linux论坛 - 2004-01-07 18:29:30 阅读(1061) 回复(6)

u can use newer/cnewer/anewer to find files newer than a file, but how about to find the older files?

by flightbird - Linux系统管理 - 2004-01-07 18:29:30 阅读(1942) 回复(6)

Solaris 系统 oracle9! 启动出现如下错误信息: jb2510% dbstart Can't find init file for Database "owblade". Database "owblade" NOT started. % sqlplus /nolog ld.so.1: sqlplus: fatal: librt.so.1: version `SUNW_1.3' not found (required by file /pa/ora9lm/OraHome1/lib/libclntsh.so.9.0) ld.so.1: sqlplus: fatal: librt.so.1: open failed: No such file or directory Killed 请教高手如何解决?

by sea2007 - Oracle - 2009-03-20 16:35:16 阅读(2260) 回复(2)

新学perl请教各位: 下面这段代码使用File::find模块找到*.ape文件,然后将其删除。但是奇怪的是如果是 #./delape.pl ./ 则能正常工作。 但是,如果跨目录,比如, #./delape.pl ./temp/ 则能找到*.ape文件,但是无法删除。这是怎么回事? #!/usr/bin/perl -w #name: delape.pl use strict; use File::find; sub wanted { $_ = $File::find::name; if ( /\.ape$/ ) { my $file = $File::find::name; ...

by alitalia - Perl - 2007-12-05 11:53:13 阅读(2507) 回复(7)

Unable to start program 'c:\documents and settings\owner\my documents\visual studio 2005\projects\aaa\debug\aaa.exe'. The system cannot find the file specified.

by zhshqzyc - C/C++ - 2006-04-28 08:52:33 阅读(1137) 回复(0)

After I installed 9.2.0.2 in Redhat As 2.0 for Itanium, I can't find the OEM startup file oemapp in ORACLE_HOME/bin directory, why?

by walkinair - Oracle - 2004-09-21 15:11:12 阅读(1277) 回复(1)