Scanning files by modified date

I created a copy of a users home folder on a backup drive, and I think some of those copied/backup files may have been used instead of the 'real' ones on the 'real' home folder. Is there a way through spotlight or terminal/UNIX to scan that folder for modification dates after the date I created the backup folder? I couldn't get a new spotlight folder to switch disks.
Thanks,
Jeff

If you just copied the user's folder, then there's no way for the OS to access the copies. To get Spotlight to index the ext HD, drag it into the Privacy pane of Spotlight's prefPane and then delete it. That should cause it to be indexed. See http://support.apple.com/kb/HT2409 for details.

Similar Messages

  • Know an extension that searches for the file "last modified" date?

    I am working on a site with 80,000 pages and need to find an
    extension that will search all files within the site and populate
    the date each file was last modified. Know of an extension that
    will assist in this situation? Any ideas will help, thanks in
    advance!

    Ahh, so now your requirements are changing. You do not want a
    simple
    text file output after all, but instead a sortable list. So
    perhaps
    output as a csv that could be sorted within a spreadsheet.
    Altho 80000
    rows?
    It is a bit hard to believe that an organization with an
    80000 page
    website does not have inhouse gurus who could do this in a
    heart beat.
    E. Michael Brandt
    www.divaHTML.com
    divaGPS | divaFAQ
    www.valleywebdesigns.com
    JustSo PictureWindow
    mercuryfenix wrote:
    > I just finished the first scan and was not impressed.
    PageList creates an ugly
    > and nearly useless list of file name, title, path from
    page root, a link to the
    > file, last modified date and time, and some meta
    garbage. To top it all off,
    > you cannot sort it by any of these categories because it
    puts all the data into
    > a lousy html table- useless.
    > I could probably get buy with this, but it would be
    horrible....80,000 pages
    > to scan! O yeah, i forgot to mention it has a very low
    limit to how many files
    > it can scan in one scan!
    >
    > I still am in need of a better extension. Please keep
    helping.
    >

  • Looking for a third party utility to replace a file's "modified Date" field

    For video files, apparently the organizer displays the thumbnails with the date taken from the file's "modified date" field. For some wierd reason (which I'm discussing with Adobe CS) the organizer changed the date of all my videos in the "modified date" field, so now the chronology of all my video clips in the organizer went down the drain.
    Is there a third party utility to replace the "modified date" field of a file with the original shot date? (which in W7 is shown in the "Date" field).
    In other words: for every video file in my library, I want to take the date from the "Date" field and put it in the "Modified Date" field
    Thanks for your help.

    OK thanks.
    I've found a utility that modifes several of the date fields.
    Now, I just want to be sure that I don't screw this up...
    Which of the several date fields of a file holds the actual shot date?
    Which of the date fields is used by the organizer to "organize" the video files (avi and mov's) chronologically?
    Thanks for your help

  • Get File by modified date and extension then copy to location

    Hello,
    Ill give a brief description of what I am trying to accomplish. We have a bunch of files that are sitting on a deduplication box (Exagrid), we want to try and copy certain files off of this dedup box, however, if we copy EVERYTHING this will fill up our
    entire NAS Device. So, instead, I need to build a script that finds files by a modified date and extension type, then copy those to a specified folder. 
    Here is the code:
    $logfile = "C:\CopyResults.log"
    function LogWrite{
    Param([string]$logstring)
    Add-Content $logfile -Value $logstring
    $date = get-date
    $DateToCompare = (Get-Date).AddDays(-2)
    $Files = Get-ChildItem -Recurse | Where-Object {$_.LastWriteTime -gt $DateToCompare} | Where-Object {$_.Extension -eq ".xlsx"}
    foreach($File in $Files){
    Write-Host "$File was copied to C:\test"
    Copy-Item $File C:\test
    logWrite "$File was copied to c:\test --- $date"
    The file extension is of course just a test, as well as the destination of where these files are to be copied to. Ultimately I would like to build in the functionality that will check the date and delete the files after a certain amount of time has passed and
    then copy new files. For now, though, I would be satisfied with just some insight on my own idea and know where I am going wrong or how to clean this up a little better. The overall issue I having is when I run this portion of the script I get this: Copy-Item
    : Cannot find path 'C:\Users\<username>\<filename>.xlsx' because it does not exist.
    At line:13 char:5
    +     Copy-Item $File C:\test
    +     ~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (C:\Users\<usern...al filename>.xlsx:String) [Copy-Item], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

    I solved the issue. Here is the full script:
    net use \\netpath\filename /user:<Username> <Password>
    $logfile = "C:\CopyResults.log"
    function LogWrite{
    Param([string]$logstring)
    Add-Content $logfile -Value $logstring
    $date = get-date
    $DateToCompare = (Get-Date).AddDays(-1)
    $VBMs = Get-ChildItem \\netpath\filename -Recurse | Where-Object {$_.LastWriteTime -gt $DateToCompare} | Where-Object {$_.Extension -eq ".vbm"}
    $VBKs = Get-ChildItem \\netpath\filename -Recurse | Where-Object {$_.LastWriteTime -gt $DateToCompare} | Where-Object {$_.Extension -eq ".vbk"}
    $VIBs = Get-ChildItem \\netpath\filename -Recurse | Where-Object {$_.LastWriteTime -gt $DateToCompare} | Where-Object {$_.Extension -eq ".vib"}
    foreach($VBM in $VBMs){
    Write-Host "$VBM was copied to C:\test"
    Copy-Item $VBM.FullName \\netpath\filename
    logWrite "$VBM was copied to c:\test --- $date"
    foreach($VBK in $VBKs){
    Write-Host "$VBK was copied to C:\test"
    Copy-Item $VBK.FullName \\netpath\filename
    logWrite "$VBK was copied to c:\test --- $date"
    foreach($VIB in $VIBs){
    Write-Host "$VIB was copied to C:\test"
    Copy-Item $VIB.FullName \\netpath\filename
    logWrite "$VIB was copied to c:\test --- $date"
    "In this case you are handing a System.IO.FileSystemInfo.FileInfo object to the Copy-Item cmdlet. I think the cmdlet is probably defaulting to using the .Name property and that is not enough information for the copy to work. When you explicitly give the
    .FullName property to the cmdlet, it now has the information that it needs."
    I found this on Stack Overflow buried in the forums and it resolved all my issues. I have tried using that tool and it works very well, however, Powershell is what I am using for everything and I would like to keep it that way.
    Thank you all for your time and help.

  • Files last modified date using.

    Is there a way to get the last modifed date of a file residing on a remote machine ?
    I tried the URL class. But could get to the file's contents and not the last modifed date of the file.
    Thank you..

    It depends on how you access the file.
    if the files are in a shared folder you can create a file object for it and get the last modified date.
    If it in a HTTP/FTP server then you should be able to ge the last updated date as a header.

  • File Modified date

    Hi, I have a question about getting file name. When I use list method (import java.io.file) I can get all the files names under the directory I give. I am just wondering if I can get each file's modified date. If yes, how?
    Thanks in advance!

    use listFiles. you will get an array of File objects.
    for modified time use lastModified().

  • Modified date changes in Word 2010 without saving.

    Some files (made in Word 2k) I open and get asked if I want to update the links. I answer no. When closing the file the modified date is set to today. After turning off "update links" in the settings, I am not asked anything but still the modified
    date is changed. This is a very undesired behavior. I would even consider it a
    bug .

    The real issue is that it does not seem to be possible to stop Word from "updating" links to spreadsheets.  While it does not actually update the link if the option to update automatic links on open is unchecked, after opening a document containing
    a link to a spreadsheet and then attempting to close it without doing anything else, you will be asked if you want to save the changes to the document.
    -- Hope this helps.
    Doug Robbins - Word MVP,
    dkr[atsymbol]mvps[dot]org
    Posted via the Community Bridge
    "macropod" wrote in message news:[email protected]...
    I am not interested in the internal bookkeeping of Word. If I open a file to just read it, Word should not mess with the saved date under any circumstances.
    Hi victor,
    I understand well enough that you don't have any date-type fields in your document. My suggestion for using the SAVEDATE field was simply to obtain from Word it's interpretation of when the file was last saved.
    I fully agree that Word should not change the system 'modified' date if the file hasn't been changed. However, any such change is done by your system,
    not by Word itself. So, what OS are you using? Is it part of a network? Does your Word file include any macros? If so, have you checked whether any of those macros include code to save the file?
    -- Cheers
    macropod MS MVP - Word
    Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org

  • BPC 7.5 NW SP5 - Question regarding Transformation file for exporting data

    Hi Experts,
    I have a requirement to export data from a BPC application to App.server/UJFS. There are currently 13 dimensions in the application. The user requires the output file to contain only three dimensions followed by the amount(signdata), namely
    | COSTCENTER | ACCOUNT | TIME | AMOUNT |.
    How do i handle the same in transformation file?
    Currently i am using the following transformation file but i am having issues validating it.
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    OUTPUTHEADER=*COSTCENTER,ACCOUNT,TIME, PERIODIC
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=NO
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    *MAPPING
    COSTCENTER=*COL(2)
    ACCOUNT=*COL(4)
    TIME=*COL(13)
    AMOUNT=*COL(14)
    I tried to remove the OUTPUTHEADER from *options and tried but it still gives the same issue.
    Please help me as to how i can handle this scenario.
    Thanks,
    Victor

    The 'Export' data package which comes as part of a support pack enhancement does not support using Transformation/Conversion files to modify data prior to transport.
    Please refer to section 3 (Limitations) in the below how to guide.
    http://www.sdn.sap.com/irj/bpx/go/portal/prtroot/docs/library/uuid/b0427318-5ffb-2b10-9cac-96ec44c73c11?QuickLink=index&overridelayout=true
    Hence your only option is to manually massage data in the spreadsheet after exporting.

  • Error message-The installer has insufficent privileges to modify this file:C:\Program Data\microsoft\windows\start menu\programs\iTunes\.iTunes.ink

    error message-The installer has insufficent privileges to modify this file:C:\Program Data\microsoft\windows\start menu\programs\iTunes\.iTunes.ink     
    How do I correct this to download iTunes so it will run?

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Finder, modified date on file opening

    Hi, I'm using PowerPoint for a .ppt file.
    When I open this file finder make a change of the modified date with the date of opening...PowerPoint has a loading bar just few moment before opening this file, and then I can see the new modified date.....but if I don't make changes in this file why the date change??
    This doesn't happen whit word or office.....I also tried to see if there are strange options on powerpoint that do this but whit no results.

    Karin,
    a Java class on the server and on the client form could do this by calling File.lastModified and comparing the long numbers returned.
    WebUtil does not provide this functionality - as far as I can see from a quick scan - so thi smay be a valid enhancement request.
    Frank

  • IS BT CLOUD ALTERING THE "MODIFIED DATE" ON MY FIL...

    Hi
    I have BT Cloud 2GB Free running as both the downloaded "auto sync" software and also using the Chrome Browser Interface. I am on Windows XP.
    I only use Cloud to backup word / excel documents and family photos - basic things I just dont want to risk losing.
    I recently noticed something odd, when I sorted my BT Cloud View by "Date Modified" about twenty very 'old' files suddenly appeared at the top of the view - files I hadnt used in about 5 or 6 years.
    I definitely had not accessed these files yet when I went to look at them in "My Computer" and clicked on "Properties" I could see that the "Modified Date" had changed. In fact it seems that about a dozen or so files had been "modified" over night while my PC was left on in the next room. No other dates had changed on the files - it did not look like they had been "Re-Saved" I dont think since the original author had not changed.
    I started to monitor this and noticed about half a dozen files having their "modified dates" changed every day for the last three or four days. Its only Documents (Word Powerpoint Excel Text etc) that are being modified.
    And heres the thing - I ran a search on my computer of files modified in the last week and the only ones where I could not explain the change were files that are being backed up by "BT CLOUD" so its slightly possible there is a link. Of course this could be coincidence but I thought this might be a good initial avenue to explore since without BT Cloud's interface view of my files I would never have even noticed the problem in the first place.
    I'm pretty sure its not a Virus - I run my own Scanner every few days, its always up to date and I have Real Time Scanning enabled. I also ran a couple of online scans last night (Norton etc) and they found nothing.
    Its a recent development because I use Cloud every week and would have noticed before if things were changing.
    So a couple of questions really:
    Firstly has anyone else experienced this problem - I read somewhere that Some Virus Scanners can alter the Modified Date on your files unintentionally but the MS hotfix says this only happens in Vista/Win 7 I think and I am on XP. Could it be that when BT Cloud Scans the file it affects its modified date on your PC ?
    Secondly Could anyone else access my files in BT Cloud and modify them, and if so would that change to the 'online file' be represented back on my own PC when I "Synced" my backup
    Many thanks in advance for any help anyone can offer.

    I assume your raws are in DNG format? If xmp is in sidecar, it won't change raw file date.
    Anyway, saving xmp does not change any dates in Lightroom, so you should still be able to sort by edit time or capture time...
    But if you want control, you have to save manually instead of automatically.
    Two things that might help:
    1. Filter based on metadata status.
    2. robcole.com - DNGPreviewUpdater
    Rob

  • How can I preserve the modify date of the files I transfer from my local computer to the remote webserver?

    How can I make sure the the modify date of files are not updated to the date the file was uploaded or downloaded.
    There are multiple people working on my sites and I am the only one that uses Dreamweaver.  The problem this presents is when  one of my colleagues works on an image and I want to update my local computer it changes the date of the image to the date that I downloaded it and now when I compare what I have on my local computer to what is on the server they are different modify dates.

    Dont think you can find out the date of purchase!
    Where should know this without a payment bills or sales checks.
    What you can do is to find out when the notebook was registered on the Toshiba page.
    [Toshiba Warranty Lookup |http://computers2.toshiba.co.uk/toshiba/formsv3.nsf/WarrantyEntitlementLookup?OpenForm]

  • Occasional invalid modified date on a file - looks like a bug

    In the Bridge script I'm working on, I need to compare the last modified dates of files. I've found that when I iterate through the app.document.visibleThumbnails array that in nearly every directory I test on, there are one or two files that return an "undefined" value for app.document.visibleThumbnail[i].spec.modified. It is not the same two files each run, but it's always at least one that has a missing value. It's a pretty simple test app to illustrate the problem:
    var thumbs = app.document.visibleThumbnails;
    for (var j in thumbs)
    var modDateSpec = thumbs[j].spec.modified;
    if (modDateSpec == undefined)
    Window.alert("modification date is undefined");
    Unless this value is not intended to be reliable, this appears to be a bug which is why I am reporting it. I have worked around the problem for now by getting the fsName from the same thumbnail, creating a new File object with that fsName and getting the modified date from that temp object.
    I've verified that purging and rebuilding the cache does not make the problem go away. I see this problem on many different directories.
    Is this the right place to report this type of bug or is there a different procedure I should follow?
    --John

    pessex wrote: Anybody know?  Or know of a different way that I COULD do it in Terminal?
    Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method:

  • File properties: mysterious dates for created, modified and last opened

    I've seen this ever since I started using my Mac - I am a relatively new Mac user (a year or more vs. well, decades on Win/PC).
    Finder: click on a file and it will show its properties. It will have a "More info" button.
    The dates displayed between the 2 above are different.
    1) In the "immediate" display it would say something like:
    Last opened: Today at 10PM
    - this wrong day, "correct" time
    - considering that it will display this at say 7AM "today"...well, it's a "future" date/time
    2) If you click the More info button, the "truth" comes out
    Last opened: Yesterday at 10PM (accurate)
    Never really cared, but thought I'd ask here. At some point, if I start some development on the Mac, and filesystems, file properties are involved, this will obviously be an issue. I don't even know if this affects file searching based on these properties - again, new user, using Mac for very specific purpose, but usage is definitely on the rise, so I'd like to get some direction on very basic OS behavior like this fully understood.
    Thanks and happy new year to all!

    EdSF wrote:
    Thanks VK. I'm the only user.
    Can you please clarify on what user accounts have to do with this behavior?
    I've seen many times when corrupt date settings in the global user preference file cause wrong modified dates to be displayed in finder. in that case if you make a different user they will be displayed correctly. the file in question is ~/library/preferences/.GlobalPreferences.plist.
    It's ok to be technical in your response....if it goes over my head, I'll be frank and ask for clarification....
    - Is it a user-defined preference/setting?
    - It's almost like a busted UTC/time zone routine (somehow "TODAY" is UTC, but the time value doesn't match) re: 10PM last night on PT is/was "today" in UTC....

  • How to get last modified date and time of a file which is in apache server.

    Hi ,
    I need to get last modified date and time of a file in remote machine.
    This file is in remote machine which has apache server installed.
    I am trying to get this information by connecting to apache server from client by giving absolute URI of the file to file object.
    URI is got from apache server URL by using toURI method.
    when I use lastModified method , its throwing exception , because scheme of URI is not file.
    I can't give scheme as file because ftp server is not installed on that server
    Is there any other way to get this information .

    No, unless you can use an FTP client.

Maybe you are looking for

  • Fiori Error while creating catalog and Group in Fiori Launchpad

    Hi , We are getting following error while creating Catalog and Groups in Fiori Launchapd: Error (500, Internal Server Error) in OData response for GET "/sap/opu/odata/UI2/TRANSPORT/CustomizingRequests?$filter=isDefaultRequest%20eq%20true": HTTP reque

  • Place multiple pdfs into separate indesign and export to pdf again

    Ok I have a lot of PDFs that I need to place into indesign in their own file, then re-export back as a PDF again. Can anyone recommend a script for this if there is one? All the pdfs have different page counts etc. and I don't need to save the Indesi

  • Creating a Double Line Graph

    Hello, I'm trying to create a graph from the information seen in the table below. I need to plot on the X- Axis, the T0,T1,T2 values. There will be two data sets for the line graph, Subject A and Subject B, the value from which will be plotted on the

  • Combo Box in JSP

    Hi, I am a student and working on a class project. In my application at some point, I need to provide a combo box where user can select multiple values and those values should automatically be printed in a text area provided below the combo box. Is t

  • After Effects CC will not download

    After effects was not opening due to an error during start up. I uninstalled it, but CC still thinks I have it on my computer so it wont allow me to download it again. iMac OSX 10.8.5