[Files] Set Attributes
Q100051: [Files] Set Attributes
Set filesystem level attributes for the specified file(s).
| Parameter | In/Out | Description | Other Info |
|---|---|---|---|
| File source | InOut | The file source is a list of one or more files to process, using fully qualified pathnames, such as a FileList output parameter from another module. A typical example being the [Files] Find module. |
|
| Read-Only | In | Choices: NoChange, On, OffIf ON, the file will be marked as read-only, meaning that it cannot be edited or deleted. If OFF, the file can be edited or deleted. |
Default: NoChange |
| Archive | In | Choices: NoChange, On, OffIf ON, the file will be marked as having been changed since the last backup was performed. If OFF, the file is marked as backed up. |
Default: NoChange |
| Hidden | In | Choices: NoChange, On, OffIf ON, the file will be marked as hidden. Commands like "dir" and apps like File Explorer do not show hidden files by default. If OFF, the file will be visible. |
Default: NoChange |
| System | In | Choices: NoChange, On, OffIf ON, the file will be marked as an important system file that is necessary for the operating system (OS) to work properly and is hidden by default. If OFF, the file will be a normal file. |
Default: NoChange |
| Log output level | In | Choices: Minimal, VerboseThe level of execution detail you want to appear in the log. |
Default: Minimal |
| Processed file list | Out | List of files that were processed. |
(Italics = required parameters)
Notes
This module allows a job to set or clear filesystem level attributes on the list of files that are passed into it. This allows for actions such as clearing the Read-Only flag on a number of files copied from read only media, such as CD-ROM or DVD-ROM. For file backup applications that base what files are included in certain types of backups, this can be used to set or clear the Archive flag, which is what is used in such cases.
Last Updated:
10/3/2023 1:07:03 AM