rm command to remove Angular build files but keep other directories/files

Published

I would need to delete Angular build files and ‘/assets’ folder but keep other files in the directory.

What would be best command line solution for this?

Following should stay:

  • /api
  • /boardapi
  • /thumbnails
  • .htaccess
  • robots.txt

enter image description here

Source: Angular Questions

Published
Categorized as angular, find, rm Tagged , ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq