Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] initLocal CommandLine Commads

Hi,
I am trying to export my Job Item from the talend using commandline. But whenever I connect locally i.e use 
talend> initLocal
ADDED_COMMAND 0
I get added_command with every legal command I enter. So could you please tell me on how to connect properly and export the job item because as of now when I try it, it just gives me added_command with the next number and does not export the item.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi
After you initialize  a remote connection, you need to log into a remote project next:
talend>logonProject -pn projectName -ul user@talend.com -up mypassword

and then, export all the items:
talend>exportItems d:/allItems.zip -d

or export the certain item by adding the filter condition.
talend>exportItems d:/myJobName.zip -d -if label=myJobName

BRS
Shong

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Hi,
Have you checked Talend CommandLine Feature?
https://help.talend.com/search/all?query=CommandLine+features&content-lang=en
Can you export your job item successfully by manual?
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

Hi,
Yeah I did refer to all online documentation including that link. And yes, I can manually export the item but when I use command line, it gives weird errors.
Waiting for your reply.
Kunal
_AnonymousUser
Specialist III
Specialist III

infact it always just says added_command with all the commands i enter.
Anonymous
Not applicable
Author

Hi
After you initialize  a remote connection, you need to log into a remote project next:
talend>logonProject -pn projectName -ul user@talend.com -up mypassword

and then, export all the items:
talend>exportItems d:/allItems.zip -d

or export the certain item by adding the filter condition.
talend>exportItems d:/myJobName.zip -d -if label=myJobName

BRS
Shong
Anonymous
Not applicable
Author

infact it always just says added_command with all the commands i enter.

Maybe you started the Command Line tools in server mode, which can take several commands at a time. The message you get means the command has been added to execution list and will be executed.