How to use paths in VLT tool
Hello,
I'd like to use a command:
vlt.bat -v --credentials admin:admin import http://localhost:4503/crx . /
Above example imports all files and directories in jcr_root. I'd like to specify local path to import just one/several folders. I tried many ways to put the local path as argument, but I always get errors, for example:
[ERROR] import: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
Could anybody help me and tell me what is the proper way to write paths in the command?
Thanks in advance,
Bernard
EDITED:
I got to know something new.
"." means current folder, and works like %cd%
When I call the command with . /etc/docroot/myproject/common/css, VLT tries copying all content from local jcr_root o /etc/docroot/myproject/common/css on the CQ server, of course with errors:
[ERROR] E /etc/docroot/myproject/common/css/etc/map.publish/http/www.example.cm/home-html (java.lang.IllegalStateException: Parent
node not found.)
If I call the command with ./etc/docroot/myproject/common/css /etc/docroot/myproject/common/css there occurs an error
[ERROR] import: java.io.FileNotFoundException: C:\workspace\myproject\myproject-docroot\src\main\cq\jcr_root\etc\docroot\myproject\common\css\etc\docroot\myproject\common\css
So as I said before - dot works like %cd% and the path after the dot is added to the path
What I just want to do is importing files from the current folder (ex. css) to the analogical folder on the server.