Comment 7 for bug 57218

Revision history for this message
Chris Rose (chris-vault5) wrote :

Windows prefixes a copy as 'Copy of $original_name' which as you say breaks ordering.

If nautilus used the first part of the file (split by '.') that has no white space that would give sensible results.

    my song feat. artist.tar.gz -> my song feat. artist (copy).tar.gz
    my_file.tar.gz -> my_file (copy).tar.gz

In this case ' artist' and 'my song feat' are not part of the file extension (both have whitespace), but 'tar' and 'gz' might be (no whitespace), so the sensible place to put it is before the 'tar' part.

(copy) should be placed:

  * before the first part of the file name with no whitespace
  * at the end of the first part of the file name if no parts contain whitespace