Home > Linux > Linux: Recursively delete all files with a given extension

Linux: Recursively delete all files with a given extension

January 20th, 2015

please use find:

find . -type f -name '*.bak' -delete

Linux

  1. No comments yet.
  1. No trackbacks yet.