HELP advanced search for particular number combination

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
arevad
Junior Member
Junior Member
Posts: 2
Joined: 2018-04-16, 09:07 UTC

HELP advanced search for particular number combination

Post by *arevad »

Is there anyone who can help me create a search rule. It should only search for a number index like these.
All numbers between: 10 characters
0101010000 and to 3112999999
and 10 characters with - between 6-7 numbers
010101-0000 and to 311299-9999
and 10 characters with (blank) between 6-7 numbers
010101 0000 and to 311299 9999

thanks in advance.
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

This can not be easily done.

Do we talk about file names here in your example?


What do you want to do with the result? (have that to be processed in TC?)


You can e.g.:
- store selected file names to a file.
- use a script to process that file
----- for each line
------ extract number
---------- if number > 10 AND < 999 Then sOut=sOut+Line
- write back list of found file names to a temp file
- use TC command "load selection from file"




.
arevad
Junior Member
Junior Member
Posts: 2
Joined: 2018-04-16, 09:07 UTC

Post by *arevad »

Hi Stefan2
Thanks for your reply. The search should be used as a solution in connection with the GDPR legislation. I want to use it to search across drives. If they contain files with social security numbers, such as. 010112-xxxx which is DDMMYY- (Control Number) or Company Number, such as 0032705544 or 32705544.

Do you understand what I mean.
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

You want to search across drives for files with a specific name range.
OK.



File name examples?

File name start with some digit
" >= 0101010000 AND <= 3112999999" (a possible hyphen is removed by us for a simple search)
-or-
" >= 010101 0000 AND <= 311299 9999"



And next?
You will get e.g. 748 paths back, what next?





 
Post Reply