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.

AllMetadata8

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

NoFallbackForMove16

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

TargetDefaultPerms32

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

TargetDefaultModifiedTime64

Use default modification timestamps instead of copying them from the source file. Since 2.80