Skip to content

Instantly share code, notes, and snippets.

@afragen
Last active February 10, 2020 08:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save afragen/748e4780b6057d4c41cf9e466557042a to your computer and use it in GitHub Desktop.
Save afragen/748e4780b6057d4c41cf9e466557042a to your computer and use it in GitHub Desktop.
For use with Local by Flywheel (Pressmatic) Volumes Addon to create symlinks for better IDE integration
@afragen
Copy link
Author

afragen commented Mar 7, 2017

You will need to modify this script to use your file paths and add your repo slugs.

After the plugins or themes are added via the Volumes Addon, simply run this modified script and symlinks with replace the created synced folders that LbF creates.

The delete parameter will remove anything that might be in the file paths designated in the script.

@afragen
Copy link
Author

afragen commented Mar 15, 2017

@afragen
Copy link
Author

afragen commented Jun 19, 2017

Updated and simplified. Now doesn't delete but checks to see if a symlink already exists and creates a symlink where one doesn't. If forcibly over-writes any other file that exists in that location, like a shared folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment