1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Find Newer Files as a zsh til.

This commit is contained in:
jbranchaud
2015-08-26 10:43:35 -05:00
parent a783cac28a
commit 04ac7798b3
2 changed files with 14 additions and 0 deletions

View File

@@ -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)

13
zsh/find-newer-files.md Normal file
View File

@@ -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`.