U.S. CitiesCity-Data Forum Index
Celebrating Veterans Day!
Go Back   City-Data Forum > General Forums > Science and Technology > Computers
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
 
Old 05-23-2016, 03:59 PM
 
2,360 posts, read 3,178,189 times
Reputation: 1811

Advertisements

I have Windows 7 Pro.

Looking to try & name files a certain way so that I can easily search for them. Seems like sometimes I have good results & other times I get too much data.

A lot of the time I'm either trying to grab excel files only or regular folders.

I have a lot of folders listed by year i.e. 2011-Stuff

Listed many times for different years. What I've been doing is typing in 20**-stuff

& the results show about 6 folders that have that format and that's how I like to search the data.

But this doesn't always seem to work so I was wondering if there are limits to the wild card *. also wondering if there was an easier way to exclude stuff instead of having to search, then filter the type of file.

Also interested in any tips that help the search function that will narrow down what I'm looking for.
Reply With Quote Quick reply to this message

 
Old 05-23-2016, 10:54 PM
 
40,161 posts, read 41,766,549 times
Reputation: 16735
Lots of files allow for metadata, images are a typical example. "Date taken" is added by the camera and embedded into the file, this never changes unless you specifically edit it. This is completely different than the Windows dates for creation, accessed and modified.

Go to view, under panes switch to detail. If you highlight a file that supports metadata like an image or Excel document you can view the metadata in the details pane. You can add tags and all kinds of information by highlighting a file(s) and change it in the details pane. Tags, Author etc can also be added as columns in the search results.

In addition to the metadata you can search files like Excel, Word or text documents for their contents.
Reply With Quote Quick reply to this message
 
Old 05-23-2016, 11:54 PM
 
Location: Somewhere in northern Alabama
18,503 posts, read 55,418,079 times
Reputation: 32169
IIRC, wildcards * and ? are different. Using * extends to the end of the string, ? is for character replacement. Could be why it doesn't work for you always.

If I do a date as part of a filename, I do it as year month day to make sorting and finding easier.
Reply With Quote Quick reply to this message
 
Old 05-24-2016, 03:11 AM
 
40,161 posts, read 41,766,549 times
Reputation: 16735
Depending on the file Harry there might be column with that information, "date taken" for example for images. Just right click any column header and you can bring up a list of what is available.

I do rename images. Irfanview has batch processing that can utilize the "date taken" metadata. You can format it anyway you want but a file name might look like:

2016-06-02_1130_DSC_5678.jpg


2016-06-02, the date of course. YYYY-MM-DD

1130, 11:30AM

DSC_5678.jpg, original filename. You may want this for reference in the future but the primary reason for this is to prevent file name clashes. You can use a more precise time instead of 1130 but that just gets confusing to look at which kind of defeats the purpose of having informative filenames.
Reply With Quote Quick reply to this message
 
Old 05-24-2016, 08:40 AM
 
1,168 posts, read 825,694 times
Reputation: 1418
Try Advanced Query Syntax in windows search.
I use my own algorithms however, You would be absolutely shocked just how much metadata is attached in the record to the data that you can search for. The .xls data type by itself has 10's of thousands of individual structure elements that you can search for. The specification is more than 1000 pages.
Reply With Quote Quick reply to this message
 
Old 05-24-2016, 09:22 AM
 
40,161 posts, read 41,766,549 times
Reputation: 16735
Quote:
Originally Posted by harry chickpea View Post
IIRC, wildcards * and ? are different. Using * extends to the end of the string, ? is for character replacement.
Asterisk should match anything, suppose your filename is myfile_1234.jpg

Search for *.jpg will return any file with the extension .jpg including myfile_1234.jpg.

Search for myfile*.jpg will return any .jpg that starts with myfile including myfile_1234.jpg.

The question is for single characters.


Search for myfile_123?.jpg will return myfile_1230.jpg, myfile_1231.jpg, myfile_1232.jpg.. etc,.

Search for myfile_?.jpg should return nothing unless you had files like myfile_1.jpg, myfile_2.jpg, etc.


---------------------

Here is one quick tip if you missed it, if you in a folder and use the search box it only searches that folder and sub folders.
Reply With Quote Quick reply to this message
 
Old 05-25-2016, 03:39 PM
 
2,360 posts, read 3,178,189 times
Reputation: 1811
Thanks for the replies.. a lot of this is over my head but I'm trying to understand.

What about the issue where you want to search for an exact file name i.e. "2011-Sports"

You want to only get files/folders with that name. I do that but I get the the result at the top but below is every single file inside that folder.


It would also be helpful if I could get results for different years but only for the exact name utilizing the wild card.

I.e. 20**-Sports So I get a result of every folder that has 20**-Sports (of course it would be different years).
Reply With Quote Quick reply to this message
 
Old 05-26-2016, 07:38 AM
 
40,161 posts, read 41,766,549 times
Reputation: 16735
Quote:
Originally Posted by Statz2k10 View Post

What about the issue where you want to search for an exact file name i.e. "2011-Sports"

You want to only get files/folders with that name. I do that but I get the the result at the top but below is every single file inside that folder.
Using quotes should return results with exact phrase, suppose you're searching for "Black Sabbath". Assuming your file structure is artist >> album >> song you are going to have three results because there is folder for the artist "Black Sabbath" with a folder for the album "Black Sabbath" that contains a song "Black Sabbath.

Additionally "Black Sabbath" is going to be listed as the artist in metadata for all those songs. If you have the search set to search contents of files it's also going to return every song by "Black Sabbath", it's going to return the song "Black Sabbath" by Ozzy as solo artist and will include results for any playlist you may have.

If you just want the folder modify the search to just list folders, you can type this in or use the options:

"Black Sabbath" kind:=folder







Quote:
I.e. 20**-Sports So I get a result of every folder that has 20**-Sports (of course it would be different years).
You only need to use one asterisk here and this may be one of the problems you are having. * matches a string of characters. If you a searching for 20*-Sports it's going to return results for:


2011-Sports, 2012-Sports and 20bdgibiutwgvniufdlhbviubfiudwghuire-Sports





If you use question mark you can match single characters. If you a searching for 20??-Sports it's going to return results for:

2011-Sports, 2012-Sports, etc. It will not return a result 20bdgibiutwgvniufdlhbviubfiudwghuire-Sports
Reply With Quote Quick reply to this message
 
Old 05-26-2016, 02:24 PM
 
2,360 posts, read 3,178,189 times
Reputation: 1811
Appreciate thecoleman. I got the kind:=folder to work & also the ?? feature. Thanks!
Reply With Quote Quick reply to this message
 
Old 05-26-2016, 04:03 PM
 
Location: 10110001010110100
6,385 posts, read 10,839,849 times
Reputation: 5589
If interested in a free 3rd party app, give Everything a shot!



It can be easily customized thru "search" and "Tools > Options" menu options.
It is instantaneous search.
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:

Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Computers
Similar Threads
Follow City-Data.com founder on our Forum or

All times are GMT -6. The time now is 08:13 PM.

© 2005-2019, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 - Top