Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Perform the GetFile by running the 'GetFilegetfile.sh' script. It takes the following arguments:

...

Perform the GetFileIDs by running the 'GetFileIDsgetfileids.sh' script. It takes the following arguments:

...

Perform the GetChecksum by running the 'GetChecksumgetchecksums.sh' script. It takes the following arguments:

...

Perform the PutFile by running the 'PutFileputfile.sh' script. It takes the following arguments:

...

Perform the DeleteFile by running the 'DeleteFiledeletefile.sh' script. It takes the following arguments:

  • [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.

  • [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.

  • [OPTIONAL] -p The id of the pillar where the file should be delete. If no argument, then the file will be deleted at all pillars.

ReplaceFile

Replace a file running the 'replacefile.sh' script. It takes the following arguments:

  • -f The path to the new file for the replacement.

  • -c The id for the collection to perform the operation on.

  • -S [OPTIONAL] The salt of checksum to request in the response. Requires the ChecksumType argument.

  • -R [OPTIONAL] The algorithm of checksum to request in the response from the pillars.

  • -C [OPTIONAL] The checksum of the file to be replaced.

  • -p The id of the pillar where the should be performed.

  • -i The id for the file to perform the operation on.