Script Request: Remissive Index Builder - Report Tool

Discuss and share scripts and script files...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Script Request: Remissive Index Builder - Report Tool

Post by SkyFrontier »

Can someone please help me on this? (Is it possible?)
-checks clipboard against active pane (I may or may not want to compare active pane against other pane or previously built list from anywhere else); then reports each existing extension plus sum of sizes for each ext (when file sizes are available); then, builds a list of unique files:

Code: Select all

Index.txt
History v*.txt       -----------History v3.txt were duplicated on original list.
                         -----------History v4.txt were duplicated on original list.
Jockey *.*             -----------Jockey.bat were duplicated on original list.
                            -----------Jockey Index.txt were duplicated on original list.
Throughout History.txt
then splits such list in groups: one group for all occurrences of semi-duplicated (similar named)

Code: Select all

files:
2 occurrences of:
History v3.txt
History v4.txt
and another group reporting all occurrences of words, numbering each set:

Code: Select all

...
Set nr. 30 - all 3 files containing "History":
History v3.txt
History v4.txt
Throughout History.txt
Set nr. 31 - all 2 files containing "Index":
Index.txt
Jockey Index.txt
...
and so on.

Ideally It should be able to split CamelCased words, too.

ThroughoutHistory.txt would appear in both "Throughout" and "History" sets.

Thanks in advance!
Last edited by SkyFrontier on 15 Mar 2012 18:02, edited 1 time in total.
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...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Script Request: Remissive Index Builder

Post by TheQwerty »

Please try to explain this again with examples of input and output...

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

Re: Script Request: Remissive Index Builder

Post by SkyFrontier »

I am in serious need of this sort of reporting so let's try again...
Another user had discussions with me on how to set up the whole thing but that was interrupted due to... personal matters of mine.

So, here are some guidelines for the ones up to help:

The key concept is to allow one to have a clean overview on what's waiting to be sorted on a list with hundreds of files - sometimes they start with a common word, sometimes they belong to a group but they are not in the vicinities of such a group. Example:

(sorted by name)
...
A Guide on how to get the most out of Winamp.txt
...
Portable Winamp.paf.exe
...
Start up guide - Winamp.pdf
...
Winamp - setup.exe
I'd like to have a way via script to know that I have all those Winamp related stuff - and easily select them via 'Select Items'-like function.
-a report could be generated in the format:

(keyword) - ('number of filtered files' filtered files) / (total size: 'sum of filtered files' sizes' bytes)
(files list) <CRLF>

In case it would look like:

(winamp) - (4 filtered files) / (total size: '22.234.754' bytes)
A Guide on how to get the most out of Winamp.txt
Portable Winamp.paf.exe
Start up guide - Winamp.pdf
Winamp - setup.exe <CRLF>

-how to deal with common words?
Well, a dictionary could be built in so we could customize it. It should be optional for the user to decide whether to display or not the occurrences containing such words. In case user decides to ignore, this could be reported:
=====================
IGNORED COMMON WORDS:
=====================
(on) - (35 filtered files) / (total size: '148.675.890' bytes)
(files list
...)

In case user opt to view such common words, this list must be separated from the main portion of the report.

-optionally, folders could or could not be included in the word count - ideally, identified as [folder] on the files list report.

-an extra functionality would be the ability to sum up the file sizes for each extension present on list, so it'll be easier to decide how to prepare a backup starting with the larger type of files.

Excelsior!
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...

Post Reply