04 Apr 2016

This article will take less than 1 minute to read.

This simple bash command finds all of the files matching *~ recursively, executes rm on them and prints out which files are affected.

You can replace file matching pattern, and command you want to execute.

  find ./ -name '*~' -exec rm '{}' ';' -print
Category
Development