find 排除目录并exec cmd

find / -path /data  -prune  -path /xyyshare -prune  -o  -type f  -mtime 1 -size +2M -print -exec du -sh {} ;

原文地址:https://www.cnblogs.com/ruiy/p/15080165.html