Open banoodle opened 2 months ago
should delete your config folder before the rsync?
# Sync the files down.
echo -e "Sync the files down"
fin terminus rsync ${hostingsite}.${ENVIRONMENT}:files/private/config-capture-${var_date}/ ./config
# ADD THIS
# Delete the config folder.
rm -rf ./config
# Reset permissions on the sync'd files.
echo -e "Reset permissions on changed files"
find ./config/ -type f | xargs chmod 644
# Show the differences.
echo -e "Here are the differences:"
git status
I just deleted some fields and config-capture only captured updated yamls but not the deleted ones.