Created
June 19, 2025 12:04
-
-
Save mikepage/4c4c63826bfc8554bffa6dbb8b980511 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Description: | |
# This script searches for lines containing 'redirect' in all managesieve.sieve files | |
# located in /home/**/imap/**/**/sieve/ paths. | |
# Find and grep lines containing 'redirect' | |
find /home -type f -path "*/imap/*/*/sieve/managesieve.sieve" -exec grep -Hn 'redirect' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment