Search for filename/path length

Features wanted...
Post Reply
alxwz
Posts: 8
Joined: 29 Dec 2006 16:29
Location: Munich, Germany

Search for filename/path length

Post by alxwz »

Maybe a little exotic, but I'd really appreciate being able to search for files whose filenames or, more importantly, complete paths (incl. filenames) exceed a certain number of characters.

There are some free solutions to do that, and a plug-in for Total Commander, but all of them simply give you a list.

What I'd like to have, is a list of results I can immediately work with, like a usual file manager results window, which especially allows you to immediately rename the item or go to that folder (if you have to work your way up the path to shorten it).

There is indeed one file manager that does this: FileBoss from The Utility Factory (http://theutilityfactory.com). However, I'm not going to spend $50 for just one feature, esp. not for something that looks like FileBoss.

The reason why this is useful for me: For a long time, I used Total Commander for file synchronization. TC, like many other apps, can handle only paths up to 255 characters. The developer of TC decided to, when hitting this limit, by silently chop off parts of the filenames (extension first!). So now I have loads (hundreds of thousands, I don't know) of long-path files somewhere on my drives, with missing extensions (and maybe other parts of the filenames). I'd like to clean this up, shorten paths where necessary, and repair the missing extensions.

admin
Site Admin
Posts: 64880
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Search for filename/path length

Post by admin »

Okay, XY cannot search for names by their length, but
(a) XY can display the length in a column (called "Len") in the file list, and
(b) XY can handle overlong filenames without problem since a few days ago.

These two things should make you happy. You simply list all items in the drive or folder you are interested in (make a search for *), then you order them by length using the Len column, then you can preview and rename them right in the list.

admin
Site Admin
Posts: 64880
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Search for filename/path length

Post by admin »

Works now! :D (v8.60.0107)

E.g. to find all items whose full name is longer than 100 characters, enter into the Name field on the Find Files tab:

Code: Select all

len: > 100

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Search for filename/path length

Post by SkyFrontier »

Currently (since 2009-11-17) you can.

Press CTRL+F, enter the path into the Location field (or mark the "Auto sync" check box below/at right the Location field) and type this into the NAME field:

len: > 254
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

alxwz
Posts: 8
Joined: 29 Dec 2006 16:29
Location: Munich, Germany

Re: Search for filename/path length

Post by alxwz »

Hi,

@Don: Thank you very much for adding that! Have been away for a while, and what a nice surprise!
Now, if I only hadn't already bought that other file manager...
No competition for XY, though.

I'm currently reconsidering XY as my standard file manager, but that will be subject of another post.

And many thanks for Dual Pane, too! Lack of dual pane view was indeed the main reason for me letting go of XY in the past.

Regards,
Alex

Post Reply