Help with search please
Moderators: Hacker, petermad, Stefan2, white
Help with search please
Hi,
I've been trying to do a search for all .jpg files on my PC below 30kb in size, excluding a certain directory, & I wanted to find out if this was possible in TC. For example, I have a number of directories:
dir a
dir b
dir c
dir d
All these are in one directory. Under each directory are some other directories - picture & preview. So, I open TC to this directory, open the search dialog, & put .jpg in the "search for" field. I then go into the advanced tab & make sure it is set to <30 kbytes. However, I want to exclude all the preview directories from the search. Is this possible?
Thanks.
I've been trying to do a search for all .jpg files on my PC below 30kb in size, excluding a certain directory, & I wanted to find out if this was possible in TC. For example, I have a number of directories:
dir a
dir b
dir c
dir d
All these are in one directory. Under each directory are some other directories - picture & preview. So, I open TC to this directory, open the search dialog, & put .jpg in the "search for" field. I then go into the advanced tab & make sure it is set to <30 kbytes. However, I want to exclude all the preview directories from the search. Is this possible?
Thanks.
2romulous
Use this instead of just *.jpg in the "seach for" field:
Hello,However, I want to exclude all the preview directories from the search
Use this instead of just *.jpg in the "seach for" field:
Code: Select all
*.jpg | preview\
Code: Select all
search for: *.jpg |preview\
the '|' means exclude and the '\' in the end means a folder. But you cannot use wildcards for the folder you want exclude, you must insert the full name.
You can add more than one dir to exclude e.g.:
Code: Select all
search for: *.jpg |preview\ thumbnails\
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
I was sure to remember, that I read a note from @ghisler that said so. But I've tried it out and you are right.djk wrote:Are you sure?
One can use wildcards as well.
Thanks for the hint.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams