#!/usr/bin/env bash ################################################################################ # TAGII UPLOAD MESH ################################################################################ # FILE TYPE: Deployment Tool (Bash Script) # INTELLIJ PATH: /tagii/workstation-scripts/tagii-upload-mesh.sh # VERSION: 1.3.55 # # WHAT: Universal file deployment tool - uploads any project file to servers # based on deployment info in file headers # # WHY: Single command deploys files anywhere - reads WHERE from each file # # HOW: Bash 4+, rsync, SSH with ControlMaster # # WHERE (DEPLOYMENT): # - ALL SERVERS: [server path withheld on this public copy] # # SECRETS: Uses an SSH key named in .env [key path withheld on this public copy] # # CONNECTIONS: # FILE DEPENDENCIES: # - Requires: .env file in project root # - Reads headers from any file being uploaded # # SERVER CONNECTIONS: # - Connects via SSH to all servers in .env # - Uses private WireGuard addresses when available # [address range withheld on this public copy] # # AUTHOR: Matthew Sharon # LAST UPDATED: 2026-02-14 ################################################################################ # # WITHHELD ON THE PUBLIC COPY - 2026-10-21 # Three lines of this header are redacted above, and nothing else is changed. # They named the private network range, the tool's path on every server, and the # default SSH key file. None of them is a credential, and all three are useful # only to someone attacking the machines. The header FORMAT is what this page # exists to show, and the format is untouched. # The unredacted header stays where it belongs, on the workstation and in the # evidence lane for this change. It is not deleted. ################################################################################