os.FORCE

Enforce placing file at desired path by any means allowed by access control.

Syntax

os.FORCE

Description

Enforce placing file at given path. When an inherited file exists at given location, override inheritance. When a file already exists at desired location, remove it first.

Examples

Remove existing file.

Subscribe to our newsletter!