This action enables you to set a file or a set of file's attributes.

On this page:

 

Details

File source

File spec

The file specification representing the files to have their file attributes updated.

Recurse directories

If checked any directories matched will be recursed into. 

Fail if no files are found

If checked the action will fail if the file specification fails to return any files to update. 

Fileset

A FileSet with all the files to update. The FileSet will need to be defined before being able to be used within this action. Create a Define FileSet action before the use of this action. 

Options

Don't touch

Check this option to not touch the attribute already set on the files. 

Clear attribute

Check this option to clear the attribute and remove it from the files. 

Set attribute

Check this option to set the attribute on the files.

Archive

The archive attribute on the files. Means the file should be included in the next archival operation (e.g. backups).

Read Only

The read only attribute on the files. Means the file should only be read from. Writing or deleting the file should not occur, however this can be ignored. 

Hidden

The hidden attribute on the files. Means the file is hidden from general view. Can be ignored by some systems.

System

The system attribute on the files. Means the file is part of the operating system and should not be altered. Should only be used by the operating system. 

Log all affected files

Check if all files that were affected should be written into the build log. 

  • No labels