...
IS_THIS_IN_USE [MANDATORY] -f The path to the file, which is wanted to be deleted (the actual file is required for calculating the checksums etc. for performing the delete operation).
[MANDATORY] -c The id for the collection to place the the file in.
[MANDATORY] [OPTIONAL] -C The checksum of the file to be delete (in the collection default checksum specficiation).
[OPTIONAL] -S The salt of checksum to request in the response. Requires the ChecksumType argument.
[OPTIONAL] -R The algorithm of checksum to request in the response from the pillars.
[MANDATORY] -p The id of the pillar where the file should be delete.
- [MANDATORY] -i The id for the file to perform the operation on.
replace-file
Replaces a file in the bitrepository with the provided file. It takes the following arguments:
[MANDATORY] -f The path to the new file for the replacementc The id for the collection to perform the operation on
[MANDATORY] -C [OPTIONAL] The checksum of the file to be replaced.
[MANDATORY] -p The id of the pillar where the should be performed.
[MANDATORY] -c i The id for the collection file to perform the operation on.
- -f The path to the new file for the replacement.
- -S [OPTIONAL] The salt of checksum to request in the response. Requires the ChecksumType argumentu The URL where the replacement file can be downloaded.
- [MANDATORY] Most have either -f or -u arguments, though never both.
- -r The checksum of the new file
- -r is mandatory, if -u argument is used.
- -R [OPTIONAL] The algorithm of checksum to request in the response from the pillars.[MANDATORY]
- -C S [OPTIONAL] The salt of checksum of the file to be replaced.
[MANDATORY] -p The id of the pillar where the should be performed.
- [MANDATORY] -i The id for the file to perform the operation onto request in the response. Requires the ChecksumType argument.
- -S requires the -R argument.