markmv - v1.41.7
    Preparing search index...

    Interface FileMoveOptions

    Configuration options for file move operations.

    Extends copy options with move-specific features like backup creation. Move operations are typically implemented as copy-then-delete.

    interface FileMoveOptions {
        backup?: boolean;
        createDirectories?: boolean;
        overwrite?: boolean;
        preserveTimestamps?: boolean;
    }

    Hierarchy (View Summary)

    Index
    backup?: boolean

    When overwriting an existing destination, first copy it to the same path with a .backup suffix. Has no effect unless overwrite is also set.

    false
    
    createDirectories?: boolean

    Create missing parent directories of the destination first.

    true
    
    overwrite?: boolean

    Replace an existing destination file. When false (the default), copying onto an existing file throws.

    preserveTimestamps?: boolean

    Set the destination's access and modification times to those of the source after copying.

    false