GFileCopyFlags

Flags used when copying or moving files.

Values

ValueMeaning
NONE0

No flags set.

OVERWRITE1

Overwrite any existing files

BACKUP2

Make a backup of any existing files.

ALL_METADATA8

Copy all file metadata instead of just default set used for copy (see gio.FileInfo).

NO_FALLBACK_FOR_MOVE16

Don't use copy and delete fallback if native move not supported.

TARGET_DEFAULT_PERMS32

Leaves target file with default perms, instead of setting the source file perms.