文件操作 - CIM_ToDirectorySpecification.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/Application/CIM_ToDirectorySpecification.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Association, Version ( "2.6.0" ), UMLPackagePath ( "CIM::Application::CheckAction" ), Description ( "The ToDirectorySpecification association identifies the target " "directory for a FileAction. When this association is used, the " "assumption is that the target directory already exists. This " "association cannot co-exist with a ToDirectoryAction " "association, since a FileAction can only involve a single " "target directory." )] class CIM_ToDirectorySpecification { [Key, Max ( 1 ), Description ( "The destination directory of the Action." )] CIM_DirectorySpecification REF DestinationDirectory; [Key, Description ( "The Action against the directory." )] CIM_CopyFileAction REF FileName; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件