Created
July 12, 2018 22:05
-
-
Save dmazzer/9d3b9803ba314636c545c32a23aaa6f3 to your computer and use it in GitHub Desktop.
unionfs script work with PyCharm and Clion on same project structure
This file contains hidden or 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
#!/bin/bash | |
# | |
# Daniel Mazzer (2018) | |
# | |
# Source: Source files | |
# Idea_x: PyCharm and Clion .idea folders | |
# Mount_x: Mounting points to point IDEs workspace | |
SOURCE=src | |
IDEA_P=project_p | |
IDEA_C=project_c | |
MOUNT_P=src_p | |
MOUNT_C=src_c | |
echo "Mounting folders..." | |
unionfs $IDEA_C=RW:$SOURCE=RW $MOUNT_C | |
unionfs $IDEA_P=RW:$SOURCE=RW $MOUNT_P | |
echo "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment