I use command line to get a file in vault
vault get -repository Pro_LMS -makewritable -merge overwrite -destpath "D:\" -username myusername -password mypass -host 206.100.100.16 Maintenance
Maintenence is a folder in Repository Pro_LMS
But it show the error:
<vault>
<error>
usage: GET item [...]
</error>
<result success="no" />
</vault>
I don't know how to solve it
How can I use command line to get a file in vault????
Moderator: SourceGear
-
- Posts: 6
- Joined: Wed Aug 31, 2005 12:22 am
- Contact:
How can I use command line to get a file in vault????
- Attachments
-
- Vault.JPG (27.76 KiB) Viewed 2231 times
-
- Vault.JPG (27.76 KiB) Viewed 2231 times
Regards,
haughtycool
haughtycool
The "maintenance" input needs to be the full path to the folder, like $/08.Maintenance".
However, it is complaining about usage, so there is another problem as well - it doesn't like "D:\" because the backslash is next to the quote. Try specifying either a forward slash or going one more folder deep, like d:\temp
However, it is complaining about usage, so there is another problem as well - it doesn't like "D:\" because the backslash is next to the quote. Try specifying either a forward slash or going one more folder deep, like d:\temp
-
- Posts: 6
- Joined: Wed Aug 31, 2005 12:22 am
- Contact: