There are several different ways to handle file transfers between AEM and your local file system. In this post, I'm going to go over a couple command line tools to transfers files between my local file system and AEM 6.5: AEM repo tool and FileVault VLT.
AEM repo tool
Follow the instructions at Adobe-Marketing-Cloud / tools / repo to install on your system. For Linux, I used curl to install the repo bash script since it is just a single file. e.g.,
current directory is under "ui.apps/src/main/content/jcr_root"
I'm using VSCode
OS is Windows
I got the error (below) when I tried to run "get file" task (other tasks such as "put folder" and "put file" didn't work as well):
> Executing task: repo get -f C:\Users\aria\git\com.smth.smth\ui.apps\src\main\content\jcr_root\apps\smth\components\structure\footer\footer.html <
repo: does not exist: C:Usersariagitcom.smth.smthui.appssrcmaincontentjcr_rootappsmthcomponentsstructurefooterfooter.html The terminal process "C:\Program Files\Git\bin\bash.exe '-c', 'repo get -f C:\Users\aria\git\com.smth.smth\ui.apps\src\main\content\jcr_root\apps\smth\components\structure\footer\footer.html'" failed to launch (exit code: 4).
Terminal will be reused by tasks, press any key to close it.
The file surely exists in my maven project, I don't know what's going on...