Search Expired - want to search for files greater or older than value

I'm trying to build an Auto-Archive process into Final Cut Server. For the most part it is working well.
It is comprised of 2 responses that run on a schedule:
1) Response searches a specific device for all assets over 100 days old. Mark these as a under 'candidate for archive'.
2) Response searches a specific device for all "true" candidates for archive. If they have not been accessed in 30 days, then archive.
The problem seems to be response #2. Final Cut Server only allows search expired within a timeframe, not before or after a time frame. So if I set it to 30 days, it is finding all assets accessed within 30 days, not older than 30 days.
Any way to search for older or greater than a specific day range?

Well I tell ya, the documentation isn't worded very well:
"Search Expired - Searches for expired items. It creates events based on a timestamp field (such as Last Accessed) and a value defining the number of past days to look for. "
I read this "past days to look for" as though it would search within a value. So if the value was 30 days that it would identify all assets 1-30 days old.
Of course looking at the log in Final Cut Server it states "searching for assets older than 30 days".
I just need to rethink this process and clean it up.

Similar Messages

  • How do I search for files greater than 500M in size within a directory?

    I would like to know how to recursively search through a directory and it's subdirectories for files greater than 500M. What is the command for this?
    Thanks!

    Oh my, it's too early...
    You want >500M files, here you go...
    find /path/to/dir -type f -size +524288000c
    **BLUSH**
    To add something useful here, in ksh you can type
    find /path/to/dir -type f -size +$((500*1024*1024))c

  • FileUpload using JAX-WS webservice on weblogic 10.3.5 is taking long time for files greater than 10MB

    I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps  and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters  it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
                    at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
                    at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
                    at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
                    at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
                    at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
                    at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
                    at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
                    at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
                    at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
                    at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
                    at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
                    at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
                    at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
                    at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
                    at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
                    ^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
                    at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
                    at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
                    at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
                    at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
                    at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
                    at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
                    at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
                    at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
                    at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
                    at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
                    at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
                    at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
                    at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
                    at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                    at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
                    at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
                    at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
                    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

    I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps  and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters  it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
                    at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
                    at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
                    at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
                    at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
                    at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
                    at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
                    at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
                    at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
                    at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
                    at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
                    at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
                    at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
                    at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
                    at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
                    at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
                    ^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
                    at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
                    at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
                    at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
                    at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
                    at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
                    at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
                    at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
                    at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
                    at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
                    at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
                    at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
                    at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
                    at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
                    at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                    at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
                    at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
                    at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
                    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

  • Report on data in CSV File that is older than dates provided

     Hello,
    I have the following data in a csv file:
    Server1 user1 8/12/2014 16:18
    Server1 user2 3/21/2014 12:33
    Server1 Admin 6/13/2013 15:34
    Server2 user3 8/14/2014 7:34
    Server2 Admin 11/14/2013 7:30
    Server2 user4 8/12/2013 8:03
    Server3 user5 8/14/2014 7:34
    Server3 user1 7/14/2014 7:30
    Server3 user3 6/12/2014 8:03
    Server4 user5 8/14/2013 7:34
    Server4 user2 6/12/2013 7:30
    Server4 user3 2/12/2013 8:03
    I'm hoping Powershell can help create csv reports of the following:
    Report #1:
    Create a CSV report of all Servers that have been logged into by users in the past 3 months and list in the report the users and times for each login in the past 3 months.  Basically for this report it would be to include the relevant lines from
    the input and not report on logins older than 3 months (so multiple lines of login per server is that is what the input file had).
    For this report I would expect to see the following output:
    Server1 user1 8/12/2014 16:18
    Server2 user3 8/14/2014 7:34
    Server3 user5 8/14/2014 7:34
    Server3 user1 7/14/2014 7:30
    Server3 user3 6/12/2014 8:03
    Report #2:
    List all Servers that haven't been logged into in the past 3 months.  For this report I would expect to see only Server4.  I don't need to see the list of users for this report if that's possible.  So just a list of each server that has not
    been logged into in the past 3 months.
    Is this Something Powershell can do for me? Even if I have to create two scripts and run two scans to create two separate reports is fine. Where would I start with writing this type of script?
    Thank you.

    Yeah, each column in the CSV needs to have a descriptive header. Here's what I used to quickly test that example script I posted above:
    loginDetails.csv:
    Server,User,Date
    Server1,user1,8/12/2014 16:18
    Server1,user2,3/21/2014 12:33
    Server1,Admin,6/13/2013 15:34
    Server2,user3,8/14/2014 7:34
    Server2,Admin,11/14/2013 7:30
    Server2,user4,8/12/2013 8:03
    Server3,user5,8/14/2014 7:34
    Server3,user1,7/14/2014 7:30
    Server3,user3,6/12/2014 8:03
    Server4,user5,8/14/2013 7:34
    Server4,user2,6/12/2013 7:30
    Server4,user3,2/12/2013 8:03
    Output of example from above:
    Under 3 Months - Server1 user1 8/12/2014 16:18
    Over 3 Months - Server1 user2 3/21/2014 12:33
    Over 3 Months - Server1 Admin 6/13/2013 15:34
    Under 3 Months - Server2 user3 8/14/2014 7:34
    Over 3 Months - Server2 Admin 11/14/2013 7:30
    Over 3 Months - Server2 user4 8/12/2013 8:03
    Under 3 Months - Server3 user5 8/14/2014 7:34
    Under 3 Months - Server3 user1 7/14/2014 7:30
    Under 3 Months - Server3 user3 6/12/2014 8:03
    Over 3 Months - Server4 user5 8/14/2013 7:34
    Over 3 Months - Server4 user2 6/12/2013 7:30
    Over 3 Months - Server4 user3 2/12/2013 8:03
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Search in Finder and Mail for files in 2011 not working

    I do get search results just not for anything created after December 31st 2010. Nothing exists in the search for 2011. I have updated all software and nothing seems to work. My date and time are correct. I can have a file on the desktop or in my inbox and the system can not find it. I do search every day and it is getting labor intensive to do it all by hand. Any ideas?

    I figured out a fix for my machine. I went into the system preferences, to the spotlight. Went to the privacy settings added my drive and closed to save the settings then reopened it and I removed it from Privacy. This caused it to re-indexed all my files (it took over an hour) but I even created new files and was able to find them in spotlight and in my email.

  • I want to search messages but the search box wants to search Google instead!

    In Xubuntu 14.04 Thunderbird 24.5.0. Your help says that the search above the filter box will search messages but mine only comes up with a Google web search!!

    THanks very much for info.
    I must say it's a strange way to do things as there are so many three-letter acronyms out there (DHL in my case).

  • Support for file extensions with more than three characters when saving - I want my FLAC!

    Why does the Wave Editor still drop characters from filenames with more than three character extensions when you save a file? But since -opening- a FLAC file with an extension of ".flac" doesn't get chopped to ".fla", why does Audition still chop off the extra character when -saving-?
    It gets old quickly when you have to save, close and reopen files in order to get Audition's Multitrack editor to play nice and be able to find files when you reopen the Session.
    Given that the FLAC filter is open source, I may just have to modify the code and recompile it to force a save to ".fla"... But of course, ".fla" is a Flash file extension, which I also use, so that is a crude hack for me.

    Hi bro...
    use in BYTE mode in place of in TEXT mode. and at the end of each line give some special charactor so as to distinguish between lines.This is effected  by unicode check too
    regards
    Edited by: Mohit Kumar on Feb 9, 2009 9:44 AM

  • How to Check files which is older than 14 days in particuler folder using IF condition in Batch script

    Hi,
    I have to check the zip files created before 14 days by using Batch script.
    Any conditional statement needed ?
    Thanks,
    Jitu

    But this script is failing if the files are not present in the same folder.
    So I am thinking to loop the statement to check if files are not there exit from the loop.
    The script does not fail - it reports that no files are found. You can detect this like so:
    if %ErrorLevel% NEQ 0 echo "There are no zip files!"
    There is no loop in your script that you can exit from.

  • Can an iPhone be updated with a backup file that is older than the newest available?

    My husband has lost all of his iPhone information when he cleaned it off to start over, then saved a new backup that wiped out all his old info.  Is there any way to go back to a previous backup to retrieve all his lost contact information?

    Yeah, each column in the CSV needs to have a descriptive header. Here's what I used to quickly test that example script I posted above:
    loginDetails.csv:
    Server,User,Date
    Server1,user1,8/12/2014 16:18
    Server1,user2,3/21/2014 12:33
    Server1,Admin,6/13/2013 15:34
    Server2,user3,8/14/2014 7:34
    Server2,Admin,11/14/2013 7:30
    Server2,user4,8/12/2013 8:03
    Server3,user5,8/14/2014 7:34
    Server3,user1,7/14/2014 7:30
    Server3,user3,6/12/2014 8:03
    Server4,user5,8/14/2013 7:34
    Server4,user2,6/12/2013 7:30
    Server4,user3,2/12/2013 8:03
    Output of example from above:
    Under 3 Months - Server1 user1 8/12/2014 16:18
    Over 3 Months - Server1 user2 3/21/2014 12:33
    Over 3 Months - Server1 Admin 6/13/2013 15:34
    Under 3 Months - Server2 user3 8/14/2014 7:34
    Over 3 Months - Server2 Admin 11/14/2013 7:30
    Over 3 Months - Server2 user4 8/12/2013 8:03
    Under 3 Months - Server3 user5 8/14/2014 7:34
    Under 3 Months - Server3 user1 7/14/2014 7:30
    Under 3 Months - Server3 user3 6/12/2014 8:03
    Over 3 Months - Server4 user5 8/14/2013 7:34
    Over 3 Months - Server4 user2 6/12/2013 7:30
    Over 3 Months - Server4 user3 2/12/2013 8:03
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Search for file based on file date

    I have an application that performs testing and I calculate and record several metrics into datalog files.  For certain metrics, I create a new datalog file for each day of testing.
    What I want to be able to do for one metric in particular is to recall historic data from previous files programatically. In other words, I want to display the previous day's data or week old data as a comparison to the current day's data without any user intervention.
    My file naming convention is to use an identifier for the type of data stored and then include the date the file was created (one file per day) ie.  FPY_09-19-12.dl  (FPY = First Pass Yield btw)
    I could probably take the current day's file path\name and go through some routine to change the date info but this seems kludgy and would have to account for weekends, holidays and what not.
    My prefrence would be to automatically search the data file path or folder (all files for a given metric are stored in a single network folder) and find the most recent file that is older than the current date or perhaps a weeks worth of files so I can average data across multiple days.
    Any thoughts on an approach to this would be appreciated.
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

    The List Folder function will return to you a list of files as an array of strings. You could then search this string. If you want to deal with timestamps (perhaps some of your searching may be easier if you have a timestamp datatype), then you can simply convert each string in the array. Something like this:
    Attachments:
    parse file names into timestamps.png ‏20 KB

  • I can't search my LaCie external hard drive for files or folders.... please

    Hello.
    i am having trouble searching my LaCie hard drive for files or folders. The drive is mounted but a search using SPOTLIGHT or FILESPOT only results in my computer producing results.
    can anyone help please?
    cheers
    Antony
    Message was edited by: originallittlefella

    When the Lacie drive is plugged into your computer, open System Preferences->Spotlight->Privacy to confirm that the drive is not in the privacy list.
    If it is in the list, Spotlight won't index and search the drive.
    If it is not in the list, consider adding it to the list (for example, by dragging its icon from the Desktop to the list), waiting 10 seconds, and then removing it from the list (click the minus(-) button). This will force OS X to re-index the drive and make it suitable for searching.

  • Can't search events in ical older than 1 yr on iPhone 4 since upgrading to OS7

    This is a serious flaw. I found myself at Mayo clinic relying on searching my iPhone ical to look up past medical events. But I had upgraded to iOS 7 just B4 going & found SEARCH mode on iCal didn't find any event older than 1 year. Called Apple for help and was told this change came in with the new OS!!! And I asked how I could revert to iOS 6 --- not possible!! iCal on my Mac Air & iCloud show ALL my events. But the search mode on iCal on my phone doesn't show everything iCal saves - only the most recent events. Anybody have a workaround this problem??

    If what I said helped, you can click on helped. If what I said answered your question, you can click on that. It is up to you, since all I'm here for is to try and help. I'm a user just like you.
    Might I suggest something that I do, since I am an AARP member as well, I have created an Adobe document with this information, since I have had several surgeries in the past and then uploaded that into iBooks so I have that on the phone. I can update it as necessary and it keeps me from having to do a lot of searching.

  • How to delete Folders and Files older than 10 day ?

    If I use this below command, I am able to delete only the files and files in sub-folders older than 10 day,
    forfiles /p "D:\Testing\Sample" /s /d -10 /c "cmd /c del /s /q @file"
    Please help...
    Thanks

    Hello Raman459,
    please see this blog entry:
    http://elderec.org/2012/02/scripting-delete-files-and-folders-older-than-x-days/
    Your command is ok for files, for folders you need to do another command:
     forfiles -p "D:\Testing\Sample" -d -10 -c "cmd /c IF @isdir == TRUE rd /S /Q @path"
    If this post solved your question, please mark as an answer, or if it helped your quest, please vote as helpful. Thank you.
    Thank you,
    F. Schubert
    System Administrator
    MCP | Microsoft Certified Professional
    MCTS 70-640 | Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    MCTS 70-642 | Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    MCTS 70-643 | Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuring
    MCTS 70-680 | Microsoft Certified Technology Specialist: Windows 7, Configuration

  • How to search for files using wildcards * and ?.

    Hi All,
    I've been searching the forum for a couple of hours now and have been unable to find a good example of how to search a directory (Windows OS) for a file using wildcards * and/or ?. Does anyone out there have a good example that they can share with me?
    Thanks

    Hi All,
    First of all I want to thank everyone for taking the time to respond to my question. All of your responses where greatly appreciated.
    I took the example code that was posted by rkconner, thanks rkconner, and modified it to allow me to search for files in a directory that contain * and/or ?. Yes, I said and/or! Meaning that you can use them both in the same file name, example: r??d*.t* would find readme.txt.
    I've posed my complete and thoroughly document code below. I hope it is very helpful to other as I have searched many forums and spent many hours today trying to resolve this problem.
    Enjoy
    * File Name: WildcardSearch.java
    * Date: Jan 9, 2004
    * This class will search all files in a directory using the
    * asterisk (*) and/or question mark (?) as wildcards which may be
    * used together in the same file name.  A File [] is returned containing
    * an array of all files found that match the wildcard specifications.
    * Command line example:
    * c:\>java WildcardSearch c:\windows s??t*.ini
    * New sWild: s.{1}.{1}t.*.ini
    * system.ini
    * Command line break down: Java Program = java WildcardSearch
    *                          Search Directory (arg[0]) = C:\Windows
    *                          Files To Search (arg[1]) = s??t*.ini
    * Note:  Some commands will not work from the command line for arg[1]
    *        such as *.*, however, this will work if you if it is passed
    *        within Java (hard coded)
    * @author kmportner
    import java.io.File;
    import java.io.FilenameFilter;
    public class WildcardSearch
         private static String sWild = "";
          * @param args - arg[0] = directory to search, arg[1] = wildcard name
         public static void main(String[] args)
              String sExtDir = args[0]; // directory to search
              sWild = args[1];   // wild card to use - example: s??t*.ini
              sWild = replaceWildcards(sWild);
              System.out.println("New sWild: " + sWild);
              File fileDir = new File(sExtDir);
              File[] arrFile = fileDir.listFiles(new FilenameFilter()
                   public boolean accept(File dir, String name)
                        return (name.toLowerCase().matches(sWild));
              for (int i = 0; i < arrFile.length; ++i)
                   System.out.println(arrFile.getName());
         }     // end main
         * Checks for * and ? in the wildcard variable and replaces them correct
         * pattern characters.
         * @param wild - Wildcard name containing * and ?
         * @return - String containing modified wildcard name
         private static String replaceWildcards(String wild)
              StringBuffer buffer = new StringBuffer();
              char [] chars = wild.toCharArray();
              for (int i = 0; i < chars.length; ++i)
                   if (chars[i] == '*')
                        buffer.append(".*");
                   else if (chars[i] == '?')
                        buffer.append(".{1}");
                   else
                        buffer.append(chars[i]);
              return buffer.toString();
         }     // end replaceWildcards method
    }     // end class

  • Search multiple folders for files with same name and create single file

     I have a project where I need to search multiple folders for a file name and when found append data from each file to a single input file.
     Example
    root folder to start search
    \\servera\sales
    \\servera\it\salesa\cmmstr.txt
    \\servera\it\salesb\cmmstr.txt
    \\servera\it\salesc\cmmstr.txt
     I need to create a a single cmmstr.txt on the root folder. I would like it to be able to run this with parms to pass in folders to search and file names to search and single file name to create. I'm going to have a least 10 differnt files to
    search for and create output file for. The folders to search
    will somewhat be static.
     Thanks.

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

Maybe you are looking for

  • How can i implement a Transaction Processing procedure in my web app ?

    Im planning to enhance my web app servlet. the web app is about Online Banking. since it is Online banking, there would be time where simultaneous user accessing their account. mean several connection is made on my db. I read some article about Trans

  • PSE 10 won't open "CREATE" tab - stalls at "Initializing" (Mac OSX 10.6.8)

    Hi everyone,      I just purchased a copy of Photo Shop Elements & Premiere Elements 10 and can't get PSE to work properly.  I can't use the "Create" tab - which is really annoying because it is the main reason I wanted PSE 10 for...  So far I've tri

  • Deadlock in TopLink when using JMS listener on WebLogic

    I am experiencing a deadlock in TopLink 10.1.3 on WebLogic 9 in code that previously worked on TopLink 9.0.4 with WebLogic 8.1. As such, I'm not sure if it's due to the TopLink change, the WebLogic change or both. Anyway, we have a JMS listener (note

  • Interfaces in JDBC

    Hi Everyone i have a doubt regarding interfaces in JDBC api.my question is why SUN has made Connection,Statement,Resultset etc as interfaces in jdbc.why have they not made them as simple classes.Is there any specific reason behind this thing unless i

  • Functional location is not picking value from F4 help

    Hi experts, In my system for transaction IW21, functional location is not populating when using F4 help. this is only when am selecting through cost centre, for all other selection methods func. loc is populating. could you provide me any solution so