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

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

posted @ 2017-09-06 15:43  cogitoergosum  阅读(3443)  评论(0编辑  收藏  举报