Changing date/time file attributes

Is there a way to change the date and/or time on a file or group of files, without paying money for a utility.
Feedback is appreciated.

Try using the touch command in the Terminal, which is in the /Applications/Utilities/ folder; for details on its use, enter 'man touch' without the quote marks.
(26600)

Similar Messages

  • How do I get the last changed date & time of a file in app server?

    Hi Experts,
    How do I get the last changed date & time of a file in app server?
    Thanks!
    - Anthony -

    Hi,
    that's what I use...
      CALL 'C_DIR_READ_FINISH'.             " just to be sure
      CALL 'C_DIR_READ_START' ID 'DIR' FIELD p_path.
      IF sy-subrc <> 0.
        EXIT. "Error
      ENDIF.
      DO.
        CLEAR l_srvfil.
        CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD l_srvfil-type
          ID 'NAME'   FIELD l_srvfil-file
          ID 'LEN'    FIELD l_srvfil-size
          ID 'OWNER'  FIELD l_srvfil-owner
          ID 'MTIME'  FIELD l_mtime
          ID 'MODE'   FIELD l_srvfil-attri.
    *    l_srvfil-dir = p_path .
        IF sy-subrc = 1.
          EXIT.
        ENDIF." sy-subrc <> 0.
        PERFORM p_to_date_time_tz
          USING    l_mtime
          CHANGING l_srvfil-mod_time
                   l_srvfil-mod_date.
        TRANSLATE l_srvfil-type TO UPPER CASE.               "#EC TRANSLANG
        PERFORM translate_attribute CHANGING l_srvfil-attri.
        CHECK:
          NOT l_srvfil-file = '.',
          l_srvfil-type = 'D' OR
          l_srvfil-type = 'F' .
        APPEND l_srvfil TO lt_srvfil.
      ENDDO.
      CHECK NOT lt_srvfil IS INITIAL.
      pt_srvfil = lt_srvfil.
    FORM p_to_date_time_tz  USING    p_ptime  TYPE p
                            CHANGING p_time   TYPE syuzeit
                                     p_date   TYPE sydatum.
      DATA:
        l_abaptstamp TYPE timestamp,
        l_time       TYPE int4,
        l_opcode     TYPE x VALUE 3,
        l_abstamp    TYPE abstamp.
      l_time = p_ptime.
      CALL 'RstrDateConv'
        ID 'OPCODE' FIELD l_opcode
        ID 'TIMESTAMP' FIELD l_time
        ID 'ABAPSTAMP' FIELD l_abstamp.
      l_abaptstamp = l_abstamp.
      CONVERT TIME STAMP l_abaptstamp TIME ZONE sy-zonlo INTO DATE p_date
          TIME p_time.
    ENDFORM.                    " p_to_date_time_tz
    Regards,
    Clemens

  • Changing date/time ...

    I have a question about changing date and time ... thanks a lot in advance.
    I have .CR2 files and I want to change the "date time original" info ... I want to change this info in the raw file, so I clicked on the "write date or time changes to into proprietary raw files" check box in the catalog settings window ... and then, after changing date/time with the "edit capture time", Lightroom wants to save changes and after clicking the arrow on the thumbnail, it creates a sidecar file. If date/time changes is to write directly into raw file (because of catalog settings indicated above), why does Lightroom create sidecar .xmp file?

    There are two things going on here.
    1. When you change the capture date/time (Date Time Original), the change is immediately reflected in the EXIF portion of the Metadata panel in the Library module. Because this is a metadata change, the warning arrow appears on the thumbnail (if you have that set to show in the View Options)....and clicking on that arrow brings up the "Metadata changed, do you want to save to disk" dialog. Note that this happens when you do any kind of metadata change, not just changing the date/time. At that point you can either decide to write the metadata to disk, or not.....if you typically write your metadata changes to XMP I guess you'd say "Save", but if you don't then just ignore it. Of course if you say "Save" then Lightroom will do as requested and write the Metadata, if it's a DNG,JPEG,TIFF etc, the Metadata is written to the XMP section of the file header....but if it's a proprietary RAW then it's written to an XMP sidecar.
    2. The second thing is that if you have the option set in the Catalog Settings to write date/time changes into proprietary raw files, then the change that you make is reflected in the Raw file.....this is a different change to the XMP update.

  • Sapcar returns error "can't change date of file"

    I am preparing to apply SPS12 to my ERP6.0 system.
    when I run sapcar -xvf "*.?ar", I get the following error:
    "can't change date of file EPS/in/CSN01120061532_0026976.ATT
    invalid argument."
    note: I am using the latest sapcar version 7.00 running under the local&domain admin account.
    Did anyone run into this problem before?

    We have the same error
    processing archive /sapcd/sap/ECC6/JCE_Policy_Files/90000115.CAR...
    x Changelog.txt
    can't change date of file Changelog.txt
    Invalid argument
    How did you fix it ?
    Regards,
    Madhan

  • Need to change Date/Time stamp on jpeg file

    I combine images into panoramas using PTGUI. The problem is that the output image file is date stamped as the time that I created the image. I really want the date/time stamp to be the same as the images that go into the panorama. I cannot find a way in LR to change this.
    Lee

    > By the way, Victoria, should you be promoting your url here? It belongs in your profile. It's in the forum rules somewhere and others have been picked up on it before.
    >
    > Joe
    Oh, thanks Joe, I'll change that then. I did go looking for forum
    rules, but couldn't find any!
    Victoria

  • Change date/time format in Screen Shot file name?

    I capture Screen Shots all day long.  But when I go to look for the one I just took, it's not always at the bottom of the list.  That's because Mac names them as e.g.
    Screen Shot 2014-04-29 at 1.19.04 PM.png (and the order gets screwed up).
    Can I change to make save as e.g.
    Screen Shot 2014-04-29 at 13.19.04.png (this way they'll always stay in order).
    Thanks for any help.

    You may have to change system time format globally. Is it worth ?
    http://support.apple.com/kb/PH14227
    Best.

  • PSE 10 organizer changing date times of photos

    I have been having an issue since PSE9 which continues into PSE 10 organizer. After scaning photos and saving into organizer it will not allow assingment of jsut a year or a year month. If I take an old family photo and change date (scanned date) to year 1930 with unknown month it appears to take. Nect I time go into organizer it has changed the date to 12/31/1929. When I assign year and month with no date it will assing a day. PSE 10 also changes time of raw photos, keeps correct year, month, and day but changes time to the time file imported. If I correct the time it appears to take but it reverts back. This has become a major issue as I have over 16K of pictures and have scanned in thousands of old family photos, reasearching dates to use, it is extremetly frustarating to have a program that changes these settings.

    hog_2002 a écrit:
    PSE 10 organizer now displays SAMSUNG CAMERA PICTURES as the title for every imported image.  This is very annoying.   How to I prevent PSE from assigning this attribute to the title metadata upon import?   I have thousands of photos, and going through each one to delete the title isn't really an option.   Has anyone encountered this type of behavoir?
    Windows 7 pro, if that matters.
    Thanks,
    --Hoggie
    It's an old behaviour from some camera manufacturers (also Olympus...) which write their brand name in the exif field reserved to captions:
    Photoshop Elements 6/7/8 Frequently Asked Questions (FAQ)

  • How to change data type of attribute in caf

    hi.
    this is my problem.
    i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
    when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
    because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
    is anyone had same problem like me?
    how to fixed it(if passable)?
    and, how to change data type?
    thanks.

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • Batch-change date (time)...

    I know you can batch-change the date in iPhoto, and there's the option to add X seconds between each photo, but what I need to do is change the time by XX seconds/hours. Basically, this weekend we had two camera shooting a trip we were on. I thought both cameras were synched (clocks) but one camera was off by 12 hours (it was on AM when should have been PM). So, I need to add 12 hours to each photo for the 1 camera. Is there any way to do this via a batch (ie. not manually going through each of the 150+ photos and setting the time) so when I make an album of shots from both camera, sort by date/time, they synch up.
    If there's no way to do this in iPhoto, could anyone suggest another application that could do this before importing into iPhoto?
    Thanks,
    Kristin.

    Rather than start a new topic, I'm going to just refer to this one since it's recent and exactly the issue I was trying to solve. My situation is that I bought a new camera in January and still had 2006 on my mind, so all the pictures I've taken this year are off by a year. I used PhotoInfo to change the EXIF data folder by folder in my iPhoto Library folder (by this I mean I had to batch change every folder in Originals/2007 and Modified/2007). 2 folders didn't take the changes, but that's another issue for a different forum.
    Most of my pictures now have the correct EXIF data, however iPhoto doesn't show the correct info when I select the menu item Photos>Get Iinfo. Doing some searches here says that the only way to update iPhoto is to reimport the photos with the new EXIF data. My question is how do I do that without screwing everything up? I have originals and modified versions of files that are affected. How do I bring them back in such that if I use the Revert to Original command in the contextual menu that the modified files are still correctly linked to the originals?
    A secondary question is whether iPhoto is really the program I want to use. Most of my major changes I make using Photoshop. Recently after making changes in Photoshop as well as a few minor tweaks in iPhoto (I don't remember which order) when I tried to revert to the original it no longer existed. It reverted to a modified file (modified in PS or iPhoto, don't remember which). Since then I've been making a duplicate in iPhoto and then modify that one in PS as well as iPhoto. However, after making modifications in PS I have to save it as a JPG in order to keep it organized with all my photos in iPhoto. It would be nice to keep a PSD copy filed along side it. Should I be using something else besides iPhoto that handles EXIF information and changes seemlessly as well as JPG and PSD (and probably RAW in the future)?
    Thanks in advance for any info/tips.

  • Changing Date & Time Taken

    Is there any way possible or a preference to set which will not change the date and time stamps on my photos as I manipulate them in Lightroom?

    > In other words, whenever DST starts or stops, the capture times will shift by 1 hour, and if you change your timezone in Windows, the displayed capture time will change to display the date/time the pictures were taken in your current timezone (rather than the capture time from the timezone the pictures were taken in.)
    That has been fixed in LR2.
    > Is there any way possible or a preference to set which will not change the date and time stamps on my photos as I manipulate them in Lightroom?
    Manipulating images in LR cannot modify the date/time taken stored in EXIF. I think you a referring to file modification date as you see it in Explorer/Finder, which is quite a different thing.
    If so, it goes like this... For proprietary Raw files (NEF, CR2 etc.) it never changes the timestamp, except when you use the 'Edit Capture Time' command. All metada changes are save in sidecar XMPs for these. For DNG, JPEG, TIFF and PSD they are modified each time you save metadata, since the metada is embedded into the actual file. You have no option to change this bevahiour.
    Though, for any format you may choose not to save or embed any metadata, but keep it only inside the LR's catalog. Check (or uncheck) the respective prefs in the Catalog Settings dialog.

  • Changing date & time under eventlog

    Would like to know how to adjust date & time settings in the eventlog view for my Cisco 1400 bridge. Tx!

    There are two things going on here.
    1. When you change the capture date/time (Date Time Original), the change is immediately reflected in the EXIF portion of the Metadata panel in the Library module. Because this is a metadata change, the warning arrow appears on the thumbnail (if you have that set to show in the View Options)....and clicking on that arrow brings up the "Metadata changed, do you want to save to disk" dialog. Note that this happens when you do any kind of metadata change, not just changing the date/time. At that point you can either decide to write the metadata to disk, or not.....if you typically write your metadata changes to XMP I guess you'd say "Save", but if you don't then just ignore it. Of course if you say "Save" then Lightroom will do as requested and write the Metadata, if it's a DNG,JPEG,TIFF etc, the Metadata is written to the XMP section of the file header....but if it's a proprietary RAW then it's written to an XMP sidecar.
    2. The second thing is that if you have the option set in the Catalog Settings to write date/time changes into proprietary raw files, then the change that you make is reflected in the Raw file.....this is a different change to the XMP update.

  • Batch Change Date/Time - same time to full batch, not offset timing?

    Is there a way to force Aperture to change the date/time on a batch of photos with ALL images to the same exact date/time?
    Right now, I have a bunch of scanned images with the wrong date/time, but of course, scanned at different times (embedded image date/time). When using Aperture 2.1's "Metadata", "Adjust Date and Time..." function, I only have one image with the input desired date/time, then all the other scans have a different date/time based on the timing offset difference from the scanning, which over the course of several scans changes by several days quickly.
    Does anyone know of a work around? I'd hate to manually adjust hundreds/thousands of image metadata by hand when Aperture should do this easily.
    Thanks!!

    Correct, I am referring to the EXIF data. Aperture can change this data using the aforementioned "Metadata", "Adjust Date and Time..." feature, it's only that Aperture can't (as far as I can tell) set a batch of photo to the exact date and time among the entire batch.
    Perhaps I'll be able to find or create an Apple Script to do this outside of Aperture?
    It's a shame though as I can't possibly be the only one with a large scanned collection from years ago I'm trying to archive in proper date order. This would be a great new added feature Apple, if you are also reading this! (I've already submitted the feature request some weeks ago)

  • Changing date/time format

    Hi there,
    I live in the United States but prefer my dates to be in the dd/mm/yy format as opposed to the US mm/dd/yy format. I also like 24-hour time rather than AM/PM. I System Preferences>Language & Text>Region, I found the tool to modify my preferred date/time formats. However, I notice that the format of the date in my menu bar does not change (it still reads Sep 25 when it should read 26 Sep). All other dates/times appear to function correctly. I briefly switched the Region of the computer to the United Kingdom but quickly switched it back because of how autocorrect handled words like "color."
    Ideas?

    That did the trick - sometimes the easiest thing to do is hard to see. Seems I have been working too long on a Windows machine (unfortunately, I have to do so at work)...
    Thanks for the quick help!

  • Changing date/time on HP OLfficeJet 4635

    How do I change the date/time on a HP DeskJet 4635?
    Sincerely,
    Slim2

    Hi Slim2,
    Using the up & down arrows, navigate till the Preferences option is marked, then click on OK.
    Scrool down to Date and Time and click on OK.
    Set the date and time accordingly, click on OK to confirm your selection.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Changing Date Time Original Tag from Date Created Tag

    Hi,
    I need to change programmatically the "Date Time Orignal" tag by copying the "Date Created" Tag so that Media Encoder preserves the date during encoding. I can do this by hand without a problem in Bridget 5.5 but would like to automate it. Can I do this with a script?
    Thanks
    Axel

    I have been als been plagued by LR displaying the capture time to be, say 3 AM (03:00), when I know I took the picture at 1 PM (13:00). I decided to try and see why this happens. With the help of Phil Harvey's exiftool, I can see that my Canon cameras embed the time into the EXIF data without any time zone information i.e.: Date/Time Taken = 2008:04:02 16:09:23.
    Here is what I found:
    If the image is now edited with Bridge, the information is changed to: Date/Time Taken = 2008:04:02 16:09:23-08:00 (time zone of the editing computer for the date the image was made. In this case the date was before daylight savings time started.)
    When edited with GeoSetter (good for adding GPS information) the information is changed to: Date/Time Taken = 2008:04:02 16:09:23+02:00 (time zone for Cairo where the picture was taken.)
    Lastly edited with LR, the information is changed to: Date/Time Taken = 2008:04:02 16:09:23-08:00
    When the above images are viewed in LR, using PDT, they display the time as 17:09:23 except for the image tagged with the Cairo time, which displays 07:09:23. If the computer's time zone is changed the displayed time changes accordingly.
    If the images are displayed with Photoshop CS3 all the times are correctly displayed as 16:09:23 as one would expect.
    It appears that the factoring in of the time zone into the displayed time was a conscious decision by the Adobe designers. A decision that several of us are not happy with.

Maybe you are looking for

  • Mail error: MFMessageErrorDomain error 1028

    Mail will open but will not receive. Mail will send, but appears as though it is hanging up. If I close Mail with or w/out using the application i get this error: Some actions taken while the account "[email protected]" was offline could not be compl

  • MacBook and Dell 1801fp monitor... not agreeing

    I have a MacBook running OS 10.4.11 Work bought me a Dell 1801fp and I can't get the monitor to pick anything up. I can see it in my System Preferences. I have tried using the F7 key but no luck. Any suggestions? I'm not expert but I thought I'd be a

  • HTML Header - Size Limit

    Forum Is there a limit to the size of the text that can be entered on a page's HTML Header Section ? We are seeing an application page fail when we add more lines to the section .... ( yes - they are valid syntax :-)). When we remove these lines - th

  • UDS installation

    During the installation of UDS, I am facing a problem that its node manager service is not getting started, though environment manager & repository service is getting started, How can this service be started so that I can install UDS properly

  • Rtorrent: issue with DL large files ( 4GB) to NTFS

    Using latest rtorrent/rutorrent:  every time I DL a large >4GB file with rtorrent to the NTFS drive it shows it downloading the whole file MB by MB, but when I go to hash check (via rutorrent), there's only a partial percentage DLded.  Say if I DL a