Skip to content

Instantly share code, notes, and snippets.

@mirontoli
Last active September 8, 2022 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirontoli/74540e934641f88cea195958d4f09b47 to your computer and use it in GitHub Desktop.
Save mirontoli/74540e934641f88cea195958d4f09b47 to your computer and use it in GitHub Desktop.
# for downloading pictures
# first, export gedcom
$urls = gc ".....ged" | ? { $_ -match "2 FILE " } | % { $_.Replace("2 FILE ", "") }
$urls | % { Start-BitsTransfer $_ }
#open in code and replace and strip https parts leaving only filenames by using this regex:
# https:\/\/.*[^\/]\/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment