Delete SmartGit license!

If you are a Ubuntu user, in Git gui is the choice SmartGit , I hope to give you help.

The goal is to solve: SmartGit during use of the free program for 30 days, to be used again you need to remove SmartGit configuration file from the path.

So I wrote a script script, it's trivial step is omitted and achieve quick removal, refer to the following:

1
2
3
4
5
6
7
8
9
TAGERT_FILE="settings.xml"
SMARTGIT_PATH="${HOME}/.smartgit"

VERSION_REGEX="^[0-9]+$"
LATEST_VERSION=`ls ${SMARTGIT_PATH} | grep -P ${VERSION_REGEX} | sort -n -r -k 1 | head -1`

TAGERT_FILEPATH="${SMARTGIT_PATH}/${LATEST_VERSION}/${TAGERT_FILE}"

rm ${TAGERT_FILEPATH}

Reference on StackOverflow: How to change SmartGit’s licensing option after 30 days of commercial use on ubuntu?

Verbatim large column  https://www.dazhuanlan.com/2019/08/27/5d64b4b641af3/


Guess you like

Origin www.cnblogs.com/petewell/p/11418203.html