3 Ways to Delete All Files in a Directory Except One or Few Files with Extensions.md 418 B


title: 3 Ways to Delete All Files in a Directory Except One or Few Files with Extensions date: 2020-12-18 19:11:27 categories: [cli] tags: [rm,find]

authors: sedlav

In this article, we will show you how to delete files in a directory except certain file extensions or types using rm, find and globignore commands.

Link