...
[MANDATORY] -f The id for the file to retrieve.
[OPTIONAL] -p The id of the pillar where the file should be retrieved from. If no argument, then the file will be retrieved from the fastest pillars.
[OPTIONAL] -l The location where the file should be placed (either total path or directory). If no argument, then in the directory where the script is located.
[OPTIONAL] -c The id for the collection to retrieve the file for. If no argument, then first collection in the settings is used.
GetFileIDs
Perform the GetFileIDs by running the 'GetFileIDs.sh' script. It takes the following arguments:
[OPTIONAL] -f The id of the file to retrieve. If no such argument, then the id of all files are retrieved.
- [OPTIONAL] -p The id of the pillar where the id should be retrieved.
[OPTIONAL] -c The id for the collection to retrieve the fileIDs for. If no argument, then first collection in the settings is used.
GetChecksum
Perform the GetChecksum by running the 'GetChecksum.sh' script. It takes the following arguments:
[OPTIONAL] -f The id of the file to retrieve. If no such argument, then the checksums of all files are retrieved.
- [OPTIONAL] -p The id of the pillar where the F
[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] -c The id for the collection to retrieve the checksums for. If no argument, then first collection in the settings is used.
PutFile
Perform the PutFile by running the 'PutFile.sh' script. It takes the following arguments:
[MANDATORY] -f The path to the file, which is wanted to be put.
[MANDATORY] -c The id for the collection to place the the file in.
[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] -i A id for the file (default is the name of the file).
...
[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 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.
...