find ./ -mtime +10 -name "db1-bin.*" find ./ -mtime +10 | xargs tar czvf `date +\%Y\%m\%d.tar.gz` 查看man find 由于f i n d具有强大的功能,所以它的选项也很多,其中大部分选项都值得我们花时间来了解一下。即使系统中含有网络文件系统( N F S ),f i n d命令在该文件系统中同样有效,只你具有相应的权限。 在运行一个非常消耗资源的f i n d命令时,很多人都倾向于把它放在后台执行,因为遍历一个大的文件系统...
find . / -name "*" -exec grep Hard {} \; 可以完成的任务是? 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17418/showart_99403.html
#find ./ -prune -type f 查找当前目录下的所有常规文件。 可是结果是这样一个文件也找不到,有问题吗???? #find . -prune -type d 查找当前目录下的所有目录 迷惑了,find也搞不定。。。 prune到底是什么意思????
#find ./ -prune -type f 查找当前目录下的所有常规文件。 可是结果是这样一个文件也找不到,有问题吗???? #find . -prune -type d 查找当前目录下的所有目录 迷惑了,find也搞不定。。。 prune到底是什么意思????
diff.java /* * Copyright (c) Ian F. Darwin, http://www.darwinsys.com/, 1996-2002. * All rights reserved. Software written by Ian F. Darwin and others. * $Id: LICENSE,v 1.8 2004/02/09 03:33:38 ian Exp $ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code mu...
diff AFile BFile -bB 和 diff BFile AFile -bB 结果有时会不同 这个是为什么 [ 本帖最后由 luyi1983 于 2009-6-24 15:45 编辑 ]