INTERACT FORUM
More => Old Versions => Media Center 14 (Development Ended) => Topic started by: d_pert on January 12, 2010, 07:33:18 pm
-
Hi,
I've searched the forum(s) but can't find anything on this...
I just tried to back up my library (over 60,000) files, using a typical 3rd party backup system to a second HDD.
It reported that several hundred files could not be backed up ('processed') because the combined path and filename would be greater the 255 characters.
I gather that the extra folder name(s) that the backup program adds at the root of the backup location is pushing files that were already close to 255, over that limit.
I would like to be able to control, or be made aware of path\filename length in MC14...
Is there a way, or could there be made a way, to search based on a total path\filename length and then deal with the problem files manually, i.e a SmartList for helping with this?
We would be able to set a 'max' value, i.e. 225, making it a customizable report.
Thanks!
-
I think counting the characters in a file path might be achievable, but getting there would be so convoluted it would be quite impractical.
You could try using an expression like the one shown below in a smartlist to show all files with a file path count of 225 or more...
Press F9 to add a new smartlist, press the "Import/Export" button and paste the blue text in there. Press OK twice to see results...
[=isempty(mid([filename],225,-1)]=0
-marko.
-
there also is an expression that is not listed in the dev zone ;)
length([filename])
this should work also
[=IsEqual(Length([filename]),225,6]=1
:)
gab
-
Wow ... cool ... will try these ASAP.
Thanks!
-
Both work equally well, of course ;)
Thanks again!
-
Thanks to you all I found a bunch with long file names that had slipped by me. Appreciate it ;)