Bug 199063 - Translate/delete filesystem incompatible characters on copy, move, create, ... actions
Summary: Translate/delete filesystem incompatible characters on copy, move, create, .....
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stephan Kulow
Keywords: usability
: 179339 182105 (view as bug list)
Depends on:
Reported: 2009-07-05 20:11 UTC by Michael Helmling
Modified: 2021-08-09 12:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.86


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Helmling 2009-07-05 20:11:32 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When I try to copy files that contain non-FAT-Characters from my ext3 partition to my vfat audio player, dolphin and konqueror just refuse to do this. This is annoying since I have lots of music files that use a colon as separator, or have "?" in the track name.
Nautilus from gnome just changes this characters to an underscore on copy, and I think it would be nice if one could configure such a behaviour in KDE, too (starting nautilus inside KDE4 sucks^^).
I don't know if kio file is the right place for this bug, so please move it if you know a better one.
Comment 1 Stephan Kulow 2009-07-07 11:22:00 UTC
the slave shouldn't do this, either it's done in the application (dolpin) or the KIO layer itself.
Comment 2 Christoph Feck 2013-12-29 20:03:52 UTC
*** Bug 179339 has been marked as a duplicate of this bug. ***
Comment 3 Dotan Cohen 2013-12-30 12:51:05 UTC
A list of illegal filename conventions for FAT / NTFS filesystems can be found here: http://www.grouplogic.com/knowledge/index.cfm/fuseaction/view/docID/111

This problem is especially relevant for Digikam users, as Digikam default rename option uses the : character, which is illegal in FAT file systems. Therefore copying files from Digikam to USB sticks is a pain. Yes, I know that there is a workaround: change the Digikam settings. But that is for that specific case. This bug requests that all cases be dealt with intelligently. Thanks.
Comment 4 Christoph Feck 2014-11-29 22:32:21 UTC
*** Bug 182105 has been marked as a duplicate of this bug. ***
Comment 5 Ahmad Samir 2021-08-09 12:13:37 UTC
Git commit 2750b5b455cc5eed15f4cfd049d88cf749a58594 by Ahmad Samir.
Committed on 09/08/2021 at 11:17.
Pushed by dfaure into branch 'master'.

CopyJob: ask users about replacing invalid characters in file/folder names

Some Windows filesystems disallow certain characters, which would result in
the copy/move ...etc failing if one of the files has one of those characters.

Now the user can select to replace those invalid characters with an "_".
Related: bug 136746
FIXED-IN: 5.86

M  +311  -106  src/core/copyjob.cpp