linux find 只获取文件名而去除路径

find /var/process_log/ -name '*.log' -exec basename {} ;

原文地址:https://www.cnblogs.com/hzijone/p/7485127.html