generated from me/template-mit
Change single quotes to double so regex works.
This commit is contained in:
@@ -89,7 +89,7 @@ function today { date "+%Y%m%d"; }
|
||||
|
||||
function send-masters {
|
||||
echo -e "`date` - Looping through MASTER & SYNC directories."
|
||||
ls | grep '\-MASTER\|\-SYNC' | while read dir; do
|
||||
ls | grep "\-MASTER\|\-SYNC" | while read dir; do
|
||||
echo -e "\n`date` - Found '$dir'..."
|
||||
cd $dir
|
||||
send-master
|
||||
|
||||
Reference in New Issue
Block a user