diff --git a/README.md b/README.md index c08fda8..58c8cd5 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Clear The Screen](zsh/clear-the-screen.md) - [Create A File Descriptor with Process Substitution](zsh/create-a-file-descriptor-with-process-substitution.md) - [Do Not Overwrite Existing Files](zsh/do-not-overwrite-existing-files.md) +- [Find Newer Files](zsh/find-newer-files.md) - [Global Substitution On The Previous Command](zsh/global-substitution-on-the-previous-command.md) - [Killing A Frozen SSH Session](zsh/killing-a-frozen-ssh-session.md) - [List All The Say Voices](zsh/list-all-the-say-voices.md) diff --git a/zsh/find-newer-files.md b/zsh/find-newer-files.md new file mode 100644 index 0000000..595e772 --- /dev/null +++ b/zsh/find-newer-files.md @@ -0,0 +1,13 @@ +# Find Newer Files + +Use the `-newer` flag with the name of a file to find files that have a new +modification date than the named file. + +For instance, + +``` +$ find blog -name '*.md' -newer blog/first-post.md +``` + +will find all markdown files in the `blog` directory that have a +modification date more recent than `blog/first-post.md`.