Original file is deleted when character validation is denied

All your suggestions, requests and ideas for future development
Post Reply
WhatTimeDayPlace
Posts: 15
Joined: 05 Aug 2021, 09:42

Original file is deleted when character validation is denied

Post by WhatTimeDayPlace »

I have a film that has "…" in its name like so: "… this is the movie name".

File Bot matches this file to "… this is the movie name (1997)" with the year, and Filebot further wants to validate the file name by removing the "…" at the beginning.

The "…" however is a) part of the movie name and b) has not caused any problems on the NAS or the client.

So I deny "validate" and press "continue. After that the movie is deleted.

Additional info:
Filebot is Version 4.9.4 (8736) on a M1 Mac running Big Sur.
The file is on a QNAP NAS shared via SMB / CIFS.
The "…" is the single "…" sign and not three individual dots like here: "...".
User avatar
rednoah
The Source
Posts: 21078
Joined: 16 Nov 2011, 08:59

Re: Original file is deleted when character validation is denied

Post by rednoah »

Files that start with "." are hidden files on Unix-based operating system, including Linux running on your NAS, and macOS running on your Desktop:
https://en.wikipedia.org/wiki/Hidden_fi ... _directory


:idea: Adding "." at the beginning of a file name makes the file a hidden file. You can un-hide the file by renaming it. You may need to enable "Show Hidden Files" in macOS Finder or QNAP File Station to see / select / rename the file.


:idea: “…” (U+2026) works, and so FileBot won't ask you to strip “…” (U+2026). However, since it does ask, and since the file disappears after renaming, that would strongly suggest that 3x “.” (U+002E) is being used here, and that is also what a typical TheMovieDB contributor would type on his / her keyboard when inputting the movie name. You can however adjust your custom format to replace all kinds of "." patterns with Unicode equivalents.


:arrow: Using the {plex} format is generally recommended, as that will implicitly validate file paths and ensure that you're not accidentally creating hidden files and folders.
:idea: Please read the FAQ and How to Request Help.
WhatTimeDayPlace
Posts: 15
Joined: 05 Aug 2021, 09:42

Re: Original file is deleted when character validation is denied

Post by WhatTimeDayPlace »

Confirmed.

The original file had the single character "…" at the beginning.
Filebot renamed that to a three character "..." which lead to the file being hidden.

Thank you.
Post Reply