Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 1.01 KB

File metadata and controls

10 lines (7 loc) · 1.01 KB

File

In ImageStore, one File record represents one file in folders. It records the file path, name, size and hashing information.

You can manually add or remove record by using File Cmdlets. But the best way to maintain consistency between database records and file system is using Sync-ImageStoreFolder cmdlet.

To preserve data linked with files, when you need to move, rename or delete file synced to database, you may want to use related File Cmdlets instead of operating in OS directly. Otherwise, though Sync-ImageStoreFolder can keep the consistence, the record id of changed files will be different than before, and all related data like hashing will not be kept.

Cmdlets