Object modification time

Set-NetstorageObjectMTime

Synopsis

Set NetStorage object modified time.

Syntax

Set-NetstorageObjectMTime [-Path] <String> -mtime <String> [-AuthFile <String>] [-Section <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates the modification time ("touch") of a storage group object.

Note: You don't need to prepend paths with the upload directory CP code, this is implied.

Parameters

‑AuthFile

A location of your NetStorage auth file. Defaults to ~/.nsrc, but environment variables will take precedence.

‑Path
Required

A path of your directory within the NetStorage group.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑mtime
Required

The desired modification time for the target content using UNIX epoch time.

Related Links