Wednesday, 29 November 2017

Unix / Mac - find files




  • Below command shows all the files which contains letter 'a' in file name, inside a folder recursively

$  find . -name *a*.jar -printf "%p %k KB\n"


  • Find files last modified in the last 40 minutes

$  find . -mmin -40

No comments:

Post a Comment