Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Batch delete except header file

Katsuya Hyodo edited this page Nov 27, 2019 · 3 revisions
$ find . -type f -not -name '*.h' -print0 | xargs -0 rm --
$ find . -type d -empty -delete
Clone this wiki locally