macOS | 5.1.2.31185
To install Beyond Compare on your work computer:
Don’t see Beyond Compare or the Fleet Desktop icon? Send a link to this page to your IT team.
Run the following command in your terminal to uninstall Beyond Compare:
APPDIR="/Applications/" && LOGGED_IN_USER=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }') && trash() { local logged_in_user="$1"; local target_file="$2"; local timestamp="$(date +%Y-%m-%d-%s)"; local rand="$(jot -r 1 0 99999)"; if [[ "$target_file" == ~* ]]; then target_file="/Users/$logged_in_user${target_file:1}"; fi; local trash="/Users/$logged_in_user/.Trash"; local file_name="$(basename "${target_file}")"; if [[ -e "$target_file" ]]; then echo "removing $target_file."; mv -f "$target_file" "$trash/${file_name}_${timestamp}_${rand}"; else echo "$target_file doesn't exist."; fi } && sudo rm -rf "$APPDIR/Beyond Compare.app" && trash $LOGGED_IN_USER '~/Library/Application Support/Beyond Compare*' && trash $LOGGED_IN_USER '~/Library/Caches/com.apple.helpd/Generated/Beyond Compare Help*' && trash $LOGGED_IN_USER '~/Library/Caches/com.apple.helpd/Generated/com.ScooterSoftware.BeyondCompare.help*' && trash $LOGGED_IN_USER '~/Library/Caches/com.ScooterSoftware.BeyondCompare' && trash $LOGGED_IN_USER '~/Library/Containers/com.ScooterSoftware.BeyondCompare.BCFinder' && trash $LOGGED_IN_USER '~/Library/Preferences/com.ScooterSoftware.BeyondCompare.plist' && trash $LOGGED_IN_USER '~/Library/Saved Application State/com.ScooterSoftware.BeyondCompare.savedState'
Run this query in Fleet to find old versions of Beyond Compare across all your computers:
SELECT 1 FROM apps WHERE bundle_identifier = 'com.scootersoftware.BeyondCompare' AND bundle_short_version <= '5.1.2.31185';