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