文件操作 - CIM_FileShare.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/System/CIM_FileShare.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Experimental, Abstract, Version ( "2.8.1000" ), UMLPackagePath ( "CIM::System::FileElements" ), Description ( "A FileShare is representative of a LogicalFile presented for " "use (or shared) across systems. Instances of FileShare are " "associated with the shared object on the \'server\'-side via " "the CIM_SharedElement association. Shares are attached on the " "\'client\'-side (usually into another namespace) via the " "CIM_ImportedShare association. FileShare is Abstract to force " "subclassing to define the semantics of the file-sharing " "protocol. FileShare when used for importing deprecates " "RemoteFileSystem." )] class CIM_FileShare : CIM_Share { [Description ( "Indicates whether a directory or file is presented for " "use (or shared) across systems. A value of true " "represents a directory. A value of false represents a " "file." )] boolean SharingDirectory; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件