Skip to content

Instantly share code, notes, and snippets.

@9M2PJU
Forked from anthonydiiorio/cty.sh
Last active August 7, 2024 15:31
Show Gist options
  • Save 9M2PJU/edcd398880d6badbbe0ac88e2a45004c to your computer and use it in GitHub Desktop.
Save 9M2PJU/edcd398880d6badbbe0ac88e2a45004c to your computer and use it in GitHub Desktop.
Update script for DX Spider Country Files
#!/bin/bash
echo 'Downloading CTY.DAT'
wget -q https://www.country-files.com/cty/cty.dat -P ~/spider/local_data/
echo 'Downloading WPXLOC.RAW'
wget -q https://www.country-files.com/cty/wpxloc.raw -P ~/spider/local_data/
echo 'Creating Prefixes'
~/spider/perl/create_prefix.pl
echo ''
echo 'Log into the cluster as Sysop and type: load/prefix'
read -n 1 -r -s -p $'Press [Enter] to login as Sysop...\n'
~/spider/perl/console.pl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment