Skip to content

Instantly share code, notes, and snippets.

@maxclark
Created August 26, 2019 18:39
Show Gist options
  • Save maxclark/b3fd2762901ce13eb94db93f8d7f66e6 to your computer and use it in GitHub Desktop.
Save maxclark/b3fd2762901ce13eb94db93f8d7f66e6 to your computer and use it in GitHub Desktop.
Rename Polycom firmware files for import into NetSapiens Endpoints
#!/bin/bash
# echo "Type the firmware version follwed by [ENTER]"
# read version
# read version<sip.ver
version=`head -1 sip.ver`
echo "$version"
echo "sip${version}-spip321.uc.ld"
# cp 2345-12360-001.sip.ld sip${version}-spip321.uc.ld
# cp 2345-12365-001.sip.ld sip${version}-spip331.uc.ld
# cp 2345-12375-001.sip.ld sip${version}-spip335.uc.ld
# cp 2345-12450-001.sip.ld sip${version}-spip450.uc.ld
# cp 2345-12500-001.sip.ld sip${version}-spip550.uc.ld
# cp 2345-12560-001.sip.ld sip${version}-spip560.uc.ld
# cp 2345-12600-001.sip.ld sip${version}-spip650.uc.ld
# cp 3111-19000-001.sip.ld sip${version}-spipDUO.uc.ld
# cp 3111-30900-001.sip.ld sip${version}-spip5000.uc.ld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment