LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

wine-reg-copy

Copy a key and its values within the Wine registry

TLDR

Copy the values of one key to another
$ wine reg copy [HKCU\Software\MyApp] [HKCU\Software\MyAppCopy]
copy
Copy a key including all of its subkeys
$ wine reg copy [HKCU\Software\MyApp] [HKCU\Software\MyAppCopy] /s
copy
Copy a key, overwriting the destination without prompting
$ wine reg copy [HKCU\Software\MyApp] [HKCU\Software\MyAppCopy] /f
copy
Copy an entire subtree non-interactively
$ wine reg copy [HKCU\Software\MyApp] [HKCU\Software\MyAppCopy] /s /f
copy

SYNOPSIS

wine reg copy sourcekey destkey [/s] [/f]

DESCRIPTION

wine reg copy duplicates the values of a registry key to another key inside a Wine prefix. It mirrors the Windows reg copy command. By default it copies only the values stored directly under the source key; with /s it also copies every subkey beneath it.When a value already exists in the destination, the command prompts before overwriting it unless /f is supplied. The source and destination can be different keys within the same root or across different roots.

PARAMETERS

/s

Copy all subkeys and values under the source key, not just its immediate values.
/f
Force the copy, overwriting existing destination values without a confirmation prompt.

SEE ALSO

RESOURCES

Copied to clipboard
Kai