mtools: name clashes
1
1 2.5 Name clashes
1 ================
1
1 When writing a file to disk, its long name or short name may collide
1 with an already existing file or directory. This may happen for all
1 commands which create new directory entries, such as `mcopy', `mmd',
1 `mren', `mmove'. When a name clash happens, mtools asks you what it
1 should do. It offers several choices:
1
1 `overwrite'
1 Overwrites the existing file. It is not possible to overwrite a
1 directory with a file.
1
1 `rename'
1 Renames the newly created file. Mtools prompts for the new filename
1
1 `autorename'
1 Renames the newly created file. Mtools chooses a name by itself,
1 without prompting
1
1 `skip'
1 Gives up on this file, and moves on to the next (if any)
1
1 To chose one of these actions, type its first letter at the prompt.
1 If you use a lower case letter, the action only applies for this file
1 only, if you use an upper case letter, the action applies to all files,
1 and you won't be prompted again.
1
1 You may also chose actions (for all files) on the command line, when
1 invoking mtools:
1
1 `-D o'
1 Overwrites primary names by default.
1
1 `-D O'
1 Overwrites secondary names by default.
1
1 `-D r'
1 Renames primary name by default.
1
1 `-D R'
1 Renames secondary name by default.
1
1 `-D a'
1 Autorenames primary name by default.
1
1 `-D A'
1 Autorenames secondary name by default.
1
1 `-D s'
1 Skip primary name by default.
1
1 `-D S'
1 Skip secondary name by default.
1
1 `-D m'
1 Ask user what to do with primary name.
1
1 `-D M'
1 Ask user what to do with secondary name.
1
1 Note that for command line switches lower/upper differentiates
1 between primary/secondary name whereas for interactive choices,
1 lower/upper differentiates between just-this-time/always.
1
1 The primary name is the name as displayed in Windows 95 or Windows
1 NT: i.e. the long name if it exists, and the short name otherwise. The
1 secondary name is the "hidden" name, i.e. the short name if a long name
1 exists.
1
1 By default, the user is prompted if the primary name clashes, and the
1 secondary name is autorenamed.
1
1 If a name clash occurs in a Unix directory, mtools only asks whether
1 to overwrite the file, or to skip it.
1