![]() |
|
Welcome to the HEXUS.community discussion forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! |
| |||||||
Help - technical & advisory Got a problem and need help fast? Shout it here! For any technical based queries ![]() |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Is it plugged in? Join Date: Aug 2004 Location: LV-426
Posts: 493
Thanks: 20
Thanked 33 Times in 32 Posts
| Windows file search based on timestamp Hi, I have about 14000 images in a folder with the following name structure: snap_c1_261009_150916.jpg The images are from a IP camera, 1 image saved every hour. The above was saved today at 15.09. (and 16 seconds) What is the search criteria i need to use to retrieve the image every day for the last 12 months at 9am, 1pm, and 5pm. Bare in mind the time stamp may change slighly everyday, so i need to mask it somehow. I assume i can do this somehow using the date stamp, not sure what the syntax is. Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | BFG 8800 GTX OC2 | 2 x WD5000AAKS Raid-0 | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 7 RC1 | NAS Synology DS-408 - 4 x 1GB Samsung Spinpoint F1 |
| | |
| | #2 (permalink) |
| Senior[ish] Member Join Date: Jun 2008 Location: Earth
Posts: 1,335
Thanks: 64
Thanked 122 Times in 107 Posts
| Re: Windows file search based on timestamp Should be possible, check out this link. It should give you a good starting point. It may also be worth checking out the find and dir commands in cmd line. Sorry I couldn't help much! Let us know how you do it in the end! [CPU: Q9450 @ 3.6Ghz|RAM: Corsair PC2-8500 (2x2GB)] [MOBO: Asus P5Q Deluxe (1406)|HDD#1: Samsung F1 750GB] [HDD#2: OCZ SSD V1 32GB|GFX: BFG 9800GTX+ OC|PSU: Corsair HX 620W] ![]() |
| | |
| | #3 (permalink) |
| Is it plugged in? Join Date: Aug 2004 Location: LV-426
Posts: 493
Thanks: 20
Thanked 33 Times in 32 Posts
| Re: Windows file search based on timestamp I looked at this page earlier today after doing a google search, it lists day, month, year etc but not time. Thats the key criteria of this search. For example the following datemodified:>29/01/2007 17:32 <29/01/2007 17:34 returns images on the specified date between two timestamps. But you still need to specify an exact date, meaning i would have to manually change the search criteria 1095 times for every year of photos (assuming i want to retrieve 3 images a day at specified times). Does anyone know of a way to apply a mask to this search filter, i.e. datemodified:>xx/xx/xxxx 17:32 <xx/xx/xxxx 17:34 So it would return any images between 17.32 and 17:34 regardless of date. I'm starting to think the only way i'm going to do this is by creating an xcopy script or similar. Really was hoping there was a built in filter for this. Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | BFG 8800 GTX OC2 | 2 x WD5000AAKS Raid-0 | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 7 RC1 | NAS Synology DS-408 - 4 x 1GB Samsung Spinpoint F1 Last edited by PeteSmith; 26-10-2009 at 07:09 PM.. |
| | |
| | #4 (permalink) |
| Senior[ish] Member Join Date: Jun 2008 Location: Earth
Posts: 1,335
Thanks: 64
Thanked 122 Times in 107 Posts
| Re: Windows file search based on timestamp Originally Posted by PeteSmith Does * not work? As in...
Code: datemodified:>**/**/**** 17:32 <**/**/**** 17:34 [CPU: Q9450 @ 3.6Ghz|RAM: Corsair PC2-8500 (2x2GB)] [MOBO: Asus P5Q Deluxe (1406)|HDD#1: Samsung F1 750GB] [HDD#2: OCZ SSD V1 32GB|GFX: BFG 9800GTX+ OC|PSU: Corsair HX 620W] ![]() |
| | |
| | #5 (permalink) |
| Is it plugged in? Join Date: Aug 2004 Location: LV-426
Posts: 493
Thanks: 20
Thanked 33 Times in 32 Posts
| Re: Windows file search based on timestamp Sadly it doesn't. Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | BFG 8800 GTX OC2 | 2 x WD5000AAKS Raid-0 | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 7 RC1 | NAS Synology DS-408 - 4 x 1GB Samsung Spinpoint F1 |
| | |
| | #6 (permalink) |
| YUKIKAZE Join Date: Feb 2005 Location: London, Imperial College
Posts: 2,995
Thanks: 5
Thanked 65 Times in 60 Posts
| Re: Windows file search based on timestamp Can you not use some other tools. Plenty of file managers around, like Total Commander. Workstation 1: Intel Core 2 Quad Q9550 3.6Ghz / 4GB DDR2-800 / HD4870 512MB / Antec P180 Workstation 2: Intel Xeon X3350 3.2Ghz / 4GB DDR2-800 / HD4770 512MB / Shuttle SP35P2 HTPC: AMD Athlon X4 620 / 4GB DDR2-1000 Mobile Workstation: Intel Core2Duo T8300 2.4Ghz / 3GB DDR2-667 / (Dell Inspiron 1525) Display (Monitor): DELL Ultrasharp 2709W + DELL Ultrasharp 2001FP Display (Projector): Epson TW-3500 (Latest Model) Headphones: Etymotic hf2 / Ultimate Ears Triple.fi 10 Pro |
| | |
| | #7 (permalink) |
| Is it plugged in? Join Date: Aug 2004 Location: LV-426
Posts: 493
Thanks: 20
Thanked 33 Times in 32 Posts
| Re: Windows file search based on timestamp From what i can see i have the same problem with Total Commander as i did with the windows search, i can't search by time stamp alone. Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | BFG 8800 GTX OC2 | 2 x WD5000AAKS Raid-0 | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 7 RC1 | NAS Synology DS-408 - 4 x 1GB Samsung Spinpoint F1 |
| | |
| | #8 (permalink) |
| Is it plugged in? Join Date: Aug 2004 Location: LV-426
Posts: 493
Thanks: 20
Thanked 33 Times in 32 Posts
| Re: Windows file search based on timestamp Well i did it, for those interested here's how: I output the file attributes for each picture in the directory to excel, using the following batch commands: dir %1 > C:\Users\<username>\Desktop\filelist.xls start /max C:\Users\<username>\Desktop\filelist.xls exit once the file list was in excel i could use text to columns to remove the time stamp from the date using space as the delimiter. I could then filter and sort on time alone, as i required. This reduced the number of images from ~27000 to 1882. I saved the list from excel to a text file. I then used the following command to copy the files listed in the text file to a new directory. for /f %a in ('type C:\Users\<username>\Desktop\filelist.xls') do copy %a C:\temp\pics Easy when you know how, can't help but think this could of been so much easier if the OS recognises the date and time stamps seperately. Abit IP35-Pro | Q6600 G0 @ 3GHz | 4x1GB Crucial Ballistix 8500 | BFG 8800 GTX OC2 | 2 x WD5000AAKS Raid-0 | Antec 182 | Corsair HX620 | Dell 2407WFP-HC | Windows 7 RC1 | NAS Synology DS-408 - 4 x 1GB Samsung Spinpoint F1 |
| | |
| Received thanks from: | Singh400 (05-11-2009) |
![]() |
| Breadcrumb | ||||||
| ||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| News - Windows 7 coming to business users early | HEXUS | HEXUS.net | 11 | 14-07-2009 09:41 AM |
| Need help on my maxtor harddrives | arthurleung | HEXUS.hardware | 10 | 12-06-2007 08:40 PM |
| Multiple problems - help! | Ruggerbugger | Help - technical & advisory | 7 | 18-08-2006 10:41 PM |
| System Perfomance help | danjohadley | Help - technical & advisory | 26 | 24-06-2006 08:40 PM |
| New Windows Updates out peeps | Skii | Operating systems & applications | 10 | 04-08-2004 05:19 AM |