Skip to content

GNULinuxClub — Systems, Linux and Database Notes

  • Home
  • Linux Troubleshooting
  • Command Line
  • Database Notes
  • Engineering Notes
  • About

Search and delete files in Unix

Safely Find and Delete Files in Linux with find

September 28, 2026April 20, 2009 by

This is a useful tip to find and remove some files by searching recursively in a directory and sub directories This will list down all the *.tmp/*.log files find . -type f -name "*.tmp" -exec echo {} ; find . -type f -name "*.log" -exec echo {} ; This will delete down all the *.tmp/*.log files find . … Read more

Categories Linux Troubleshooting Tags Search and delete files in Unix Leave a comment

Recent Posts

  • Who Thought Banks Would Move from Oracle to PostgreSQL?
  • How to Back Up an Oracle Schema with exp and expdp
  • Recover or Reinstall the GRUB Bootloader
  • Download Files from a Directory with wget
  • How to Check Directory Size in Linux Using du

Recent Comments

No comments to show.
© 2026 GNULinuxClub — Systems, Linux and Database Notes • Built with GeneratePress