ls列出排除的文件

今天有个需求,将从日志文件夹中列出它排除旧备份日志的文件。

ls -lhrt --ignore="*.gz" --ignore="*.zip"
原文地址:https://www.cnblogs.com/paul8339/p/11642648.html