Last active
March 22, 2016 14:33
-
-
Save davidlukac/a58011a3c8c8c1dce63f to your computer and use it in GitHub Desktop.
Shell - related
This file contains 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
# The snippet ads timestamp to every line of the output. | |
drush @site.aloas solr-index | awk -v now="$(date +"%Y-%m-%d %r")" '{ print now ":\n" $0; fflush(); }' | tee -a drush-index.log` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment