This will get the files in the current directory (including files in subdirectories) and list them if they have been modified within N amount of minutes (I’m using 60 in this example, it can be any negative number in minutes.

find . -type f -name '*.js' -mmin -60

This can be really handy to find what you changed in the last while if you’re working on a lot of files at once. Especially since it searches through subdirectories.

No Comment.

Add Your Comment