Page 1 of 1
rearrange files order in filesystem
Posted: 2010-05-05, 13:34 UTC
by SailorMax
Can you add posibility rearrange files order in filesystem (when sorting = unsorted)? If it is possible.
Some low-end devices, like car-audio, play files in order as its was write on disk (without sorting). And only possible rearrange files - it is remove all files and copy all files in right order.
Looks like this function depends on filesystem. And with some restrictions, like: in FAT32 may be cut off the names of files. That's why I wrote "if it possible"
thank you.
Posted: 2010-05-05, 13:44 UTC
by ghisler(Author)
Thanks for your suggestion. The easiest way to do this is to move the files to some other directory on the device, then move them back on the order you need to see them.
Posted: 2010-05-05, 14:23 UTC
by MVV
BTW I think you may use Multi-Rename Tool for such operation.
Instructions:
1. Create temp folder e.g. $mrt$ in folder where you want to rearrange files and move all files to rearrange into it.
2. Enter $mrt$ folder, select all files and open Multi-Rename Tool (Ctrl+M).
3. Set
[N] as name template,
[E] as extension template, check flag
regex in 'Search & Replace' block and specify to replace
^ with
..\\ (dot dot slash slash, exactly as I write).
4. Rearrange files in list as you wish using dragging.
5. Press
Start!
As result, TC will move files back to source folder,
but in specified order, as you need.
Oh, of course, 6th step is to remove temp folder $mrt$!
I tested it on FAT-16 drive (reformatted temporary drive to it) - works fine!
Posted: 2010-05-08, 12:46 UTC
by SailorMax
thanks, this is solution!

Posted: 2013-09-07, 08:53 UTC
by leopoldus
2
MVV
check flag regex in 'Search & Replace' block and specify to replace ^ with ..\\ (dot dot slash slash, exactly as I write).
Could you please explain the meaning of this RegExp expression? I was able to detect only ^ (Line start), but not ..\\
Thanks!
Posted: 2013-09-07, 10:49 UTC
by MVV
leopoldus,
In the 'replace with' field dot means dot and '\\' means just '\'. So, we insert '..\' before each filename to move files to upper folder.