首页 > Linux操作系统 > Linux操作系统 > linux中find命令及相关
find start_directory test options criteria_to_match action_to_perform_on_results
我用的是这样的:
find . -type f -atime +30 maxdepth 1 |xargs -it {} ../new/ 当然,也可以使用-exec 参数,跟xargs一样的 。
http://www.oracle.com/technology/global/cn/pub/articles/calish-find.html(oracle官网上find的文章)。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/20695384/viewspace-687184/ ,如需转载,请注明出处,否则将追究法律责任。