This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HELP advanced search for particular number combination

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
arevad
Junior Member
Junior Member


Joined: 16 Apr 2018
Posts: 2

PostPosted: Mon Apr 16, 2018 3:23 am    Post subject: HELP advanced search for particular number combination Reply with quote

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.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Stefan2
Power Member
Power Member


Joined: 13 Sep 2007
Posts: 1842
Location: Europa

PostPosted: Mon Apr 16, 2018 7:02 am    Post subject: Reply with quote

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"




.
_________________
Begegnen sich zwei Erden, sagt die Eine zur Anderen: "Mir geht's echt schlecht. Ich habe Homo sapiens!"
Back to top
View user's profile Send private message
arevad
Junior Member
Junior Member


Joined: 16 Apr 2018
Posts: 2

PostPosted: Mon Apr 16, 2018 8:15 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Stefan2
Power Member
Power Member


Joined: 13 Sep 2007
Posts: 1842
Location: Europa

PostPosted: Mon Apr 16, 2018 8:42 am    Post subject: Reply with quote

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?





 
_________________
Begegnen sich zwei Erden, sagt die Eine zur Anderen: "Mir geht's echt schlecht. Ich habe Homo sapiens!"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung

Using phpBB © 2001-2005 phpBB Group