File Report Command

File Report Command

This command details report of all files that you can access in the vault. Report include Title, Record UID, and File ID

chevron-rightDotNet CLIhashtag

Command: Coming Soon

chevron-rightPower Commanderhashtag

Command: Get-KeeperFileReport

Parameters:

-Format Table, csv, Json

-Output Path to resulting output file (ignored for "table" format)

-d , -TryDownload Try downloading every attachment you have access to.

Example:

PS > Get-KeeperFileReport
Scanning vault for file attachments...

Title Record UID             Record Type File ID                File Name     File Size
----- ----------             ----------- -------                ---------     ---------
Test1 2lAzF6Ok4xAfA-DYd6LQVQ login       QxYVAc4F5ezY7H294zoVDA download1.jpg      7151
Test1 xrJ-GWKvgJtyLgIR6Tnqjg login       uLodKnuDXFxzfvLo_XuSDQ download.jpg       4961


PS > Get-KeeperFileReport -TryDownload
Scanning vault for file attachments and verifying download accessibility...

Title Record UID             Record Type File ID                File Name     File Size Downloadable
----- ----------             ----------- -------                ---------     --------- ------------
Test1 2lAzF6Ok4xAfA-DYd6LQVQ login       QxYVAc4F5ezY7H294zoVDA download1.jpg      7151 OK
Test1 xrJ-GWKvgJtyLgIR6Tnqjg login       uLodKnuDXFxzfvLo_XuSDQ download.jpg       4961 OK
chevron-rightPython CLIhashtag

Command: file-report

Parameters:

--format Table, csv, Json

--output Path to resulting output file (ignored for "table" format)

-d --try-download Try downloading every attachment you have access to.

Example:

My Vault> file-report
Title                   Record UID              Record Type    File ID                 File Name              File Size    
----------------------  ----------------------  -------------  ----------------------  -------------------  -----------    
Commander Service Mode  <RecordUID>                 login          <File_ID>               service_config.yaml          604    
SM Docker Config File   <RecordUID>                 login          <File_ID>           config.json                  262
chevron-rightPython SDKhashtag

Function:

def prepare_attachment_download(vault: vault_online.VaultOnline,
                                record_uid: str,
                                attachment_name: Optional[str]=None) -> Iterator[AttachmentDownloadRequest]:
    record = vault.vault_data.load_record(record_uid)
    if not record:
        utils.get_logger().warning('Record UID \"%s\" not found.', record_uid)
        return

Last updated

Was this helpful?