Copy changed files to a local directory?
Hello,
I'm developing a non-web application, that is it is a plugin for a tool called MySQL Workbench. This application's plugin files reside under (in Windows)
C:\Users\{MyUserName}\AppData\Roaming\MySQL\Workbench\modules
However, my project files are stored under
C:\projects\wbplugins\jpaexport\ ...
Question:
How can I copy changed files from the projects directory to a another local directory more or less automatically after the files have changed, so when I restart MySQL Workbench I don't have to make another iteration copying the files there manually?
Is there a way to do it with the PyCharm Community Ed.?
Karsten
I'm developing a non-web application, that is it is a plugin for a tool called MySQL Workbench. This application's plugin files reside under (in Windows)
C:\Users\{MyUserName}\AppData\Roaming\MySQL\Workbench\modules
However, my project files are stored under
C:\projects\wbplugins\jpaexport\ ...
Question:
How can I copy changed files from the projects directory to a another local directory more or less automatically after the files have changed, so when I restart MySQL Workbench I don't have to make another iteration copying the files there manually?
Is there a way to do it with the PyCharm Community Ed.?
Karsten
Please sign in to leave a comment.
C:\Users\{MyUserName}\AppData\Roaming\MySQL\Workbench\modules\generator\engine.py
creates a file name in Windows Explorer showing up as engine.py with a link symbol in the lower left, but when restarting PyCharm it sees a file called engine.py.lnk, which it doesn't know how to handle.
See images below.
Windows Explorer:
PyCharm Symlink:
Trying to open that file will pop up PyCharm's file type association dialog:
It looks like a will have to write some *.BAT file to clear the target dir and copy all the new stuff there...
Karsten
It works like a (Py)charm ;-) thanks for the tip! (put the symlinks into the C:\Users\Kawu\AppData\Roaming\MySQL\Workbench\modules Workbench dir and leave the actual source files in the C:\projects\wbplugins\jpaexport\)
Thanks a million for this!