Created
December 6, 2017 13:46
-
-
Save yratof/73f43722fc7492bdce18d02b6f07774b to your computer and use it in GitHub Desktop.
Get a list of all the files that have changed in the last 14 days
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find all files changed since yesterday | |
find ./wp-content/ -mtime -14 -not -path "*/.git/*" \ | |
-not -path "*.scssc" \ | |
-not -path "*/uploads/*" \ | |
-not -path "*/.sass-cache/*" \ | |
-not -path "*/vendor/*" -ls; | |
# Check if .css files have changed recently. | |
find ./wp-content/themes/ -name "*.css" -mtime -14 \ | |
-not -path "*/node_modules/*" -ls; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment