Created
November 1, 2024 10:51
-
-
Save elvisciotti/334cd2c712039c85b4e4f9e78add377c to your computer and use it in GitHub Desktop.
intelliJ: point scratches to google drive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DRIVE_DIR=$HOME/Google\ Drive/My\ Drive/Backups/intellij-scratches | |
INTELLIJ_DIR=$HOME/Library/Application\ Support/JetBrains/IntelliJIdea2024.2/scratches | |
mkdir $DRIVE_DIR | |
mv $INTELLIJ_DIR/* $DRIVE_DIR/ | |
rmdir $INTELLIJ_DIR | |
ln -s $DRIVE_DIR $INTELLIJ_DIR | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment