In op create document command, Is it possible to provide file path where my document resides

I am trying to execute the following command:
Syntax: op create document [--title=] [--vault=] [--tags=]
Command: op create document myfile.tar --title="My File" [Working if I execute from the same location where my file resides]
op create document /home/ubuntu/test/myfile.tar --title="My File" [Not working]

Could you please help me..

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided


  • rickfillionrickfillion Junior Member

    Team Member

    It should work.

    $ op create document ~/Desktop/Screen\ Shot\ 2015-12-02\ at\ 9.35.33\ PM.png  --title="testuploadpath"

    What error are you getting?


  • Hey sorry for the delay in response. It's working.

  • cohixcohix

    Team Member

    @sandeepmachiraju that's great to hear!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file