Fedora NTFS-3G happily writes files with invalid chars in filename?

John Wendel jwendel10 at comcast.net
Sun Sep 2 00:12:00 UTC 2012


On 09/01/2012 12:20 PM, Joe Zeff wrote:
> On 09/01/2012 11:28 AM, Fernando Cassia wrote:
>> Now I connect the external usb NTFS-formatted drive to my old xpsp3
>> running netbook and stumble upon a file (a folder actually under
>> .cache\vlc\art\artistalbum\The Rapture\How Deep is Your Love?
>> that ABSOLUTELY canĀ“t be removed from WinXP, as windows thinks
>> question marks are an "invalid character" in a file or folder name.
>
> Of course it's an invalid character for XP, just as it is for Linux. 
> The question mark is a wildcard, used to represent one unknown 
> character, just as an asterisk is used to represent any number of 
> unknown characters.  Thus, test?.txt will match test1.txt or test2.txt 
> but not test12.txt.  Have you tried putting quotation marks around the 
> name to keep it from being expanded?

Actually, '?' is not "an invalid character" in a Linux filename. Only 
"/" and the NULL character (0) are invalid in filenames.

Regards,

John




More information about the users mailing list