Skip to content

Instantly share code, notes, and snippets.

@erictleung
Last active January 25, 2024 18:15
Show Gist options
  • Save erictleung/94e59c610b6ab558b6021100a312f235 to your computer and use it in GitHub Desktop.
Save erictleung/94e59c610b6ab558b6021100a312f235 to your computer and use it in GitHub Desktop.
Extract URls from Zoom chat
#!/usr/bin/env bash
# Description: Extract unique URLs from the plain text output from Zoom chat and
# save links to new file.
# Usage: bash extract_zoom_urls.sh
# Set path to where Zoom chat is, or `cd` to the directory itself
FILE=meeting_saved_chat.txt
# Get list of unique links shared in Zoom chat
cat $FILE |\
grep -o 'http[s]\?://[^ ]\+' |\
grep -vE '\.\.\.|"' |\
uniq > unique_urls.txt
# Show what was extracted
cat unique_urls.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment