Last active
January 25, 2024 18:15
-
-
Save erictleung/94e59c610b6ab558b6021100a312f235 to your computer and use it in GitHub Desktop.
Extract URls from Zoom chat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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