3 # Copyright (C) 2006 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
16 $path .= "/" if( -d
$path);
17 open FIND
, "find $path -type f -and -not -path \\*.svn\\* -and -not -path \\*CVS\\* $options 2>/dev/null |";
22 my $mt = (stat $file)[9];
32 (@ARGV > 0) or push @ARGV, ".";
37 my $path = shift @ARGV;
39 my $str = shift @ARGV;
40 $options{"findopts"} .= " -and -not -path '".$str."'"
41 } elsif ($path =~ /^-f/) {
42 $options{"findopts"} .= " -follow";
43 } elsif ($path =~ /^-n/) {
45 $options{$path} = $arg;
46 } elsif ($path =~ /^-/) {
49 my ($tmp, $fname) = get_ts
($path, $options{"findopts"});
62 exit ($n eq $options{"-n"} ?
0 : 1);
63 } elsif ($options{"-p"}) {
65 } elsif ($options{"-t"}) {
This page took 0.059253 seconds and 5 git commands to generate.