Skip to content

Instantly share code, notes, and snippets.

@Hedgehogues
Last active July 12, 2024 19:27
Show Gist options
  • Save Hedgehogues/123eb27100608d248cf8370e666b29ce to your computer and use it in GitHub Desktop.
Save Hedgehogues/123eb27100608d248cf8370e666b29ce to your computer and use it in GitHub Desktop.
JetBrains Reset for 30-days-trial
#!/bin/bash
# https://gist.github.com/Hedgehogues/123eb27100608d248cf8370e666b29ce/
# declare array of tools
declare -a tools=(
"DataGrip"
"CLion"
"Rider"
"WebStorm"
"GoLand"
"PyCharm"
)
for tool in "${tools[@]}"
do
echo "removing evaluation key for $tool"
rm -rf ~/.config/JetBrains/.$tool*/eval
rm -rf ~/.config/JetBrains/.$tool*/options/usage.statistics.xml
rm -rf ~/.config/JetBrains/.$tool*/options/other.xml
done