mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 14:13:45 -05:00
New script template
This commit is contained in:
@@ -21,14 +21,14 @@ fi
|
||||
if is_not_file "$TESTFILE"; then
|
||||
die "Could not find $TESTFILE. Exiting."
|
||||
else
|
||||
e_arrow "Confirming that Dropbox has synced..."
|
||||
notice "Confirming that Dropbox has synced..."
|
||||
while IFS= read -r file
|
||||
do
|
||||
while [ ! -e $HOME/"$file" ] ;
|
||||
do
|
||||
e_warning "Waiting for Dropbox to Sync files."
|
||||
notice "Waiting for Dropbox to Sync files."
|
||||
sleep 10
|
||||
done
|
||||
e_success "Found $file"
|
||||
success "Found $file"
|
||||
done < "$TESTFILE"
|
||||
fi
|
||||
Reference in New Issue
Block a user