title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 4 of 4

Thread: Preserve last modified date of old file to the new converted files?

  1. #1

    Join Date
    Mar 2011
    Posts
    38

    Question Preserve last modified date of old file to the new converted files?

    Hi

    I need to preserve the last modification date of the files that i convert...

    I mean If a MP3 file have this modification date: "08/02/2012", And i convert that file, The modification date of the new file need to be the same.

    I need a solution for the CLI converter.

    Maybe a DSP effect can do that?

    Or a parameter of the "Coreconverter.exe"?

    Or DOS 3rd party software?



    How i can?

    Thankyou!
    Last edited by pitoloko; 02-09-2012 at 03:42 PM.

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

    Re: Preserve last modified date of old file to the new converted files?

    DSP Effect 'Preserve Source Attributes'

  3. #3

    Join Date
    Mar 2011
    Posts
    38

    Re: Preserve last modified date of old file to the new converted files?

    Quote Originally Posted by Spoon View Post
    DSP Effect 'Preserve Source Attributes'
    Thank for your help but when I try that DSP plugin, i have a error:

    Code:
    coreconverter.exe -infile="1.mp3" -outfile="1.mp3" -dspeffect1="Preserve Source Attributes" -convert_to="mp3 (Lame)" -b 192 --cbr -noidtag -priority="high"

    Code:
    Encoding: mp3 (Lame)
    Audio Source: 1.mp3
    Audio Destination: 1.mp3
    DSP Effects: Preserve Source Attributes
    
     0%-----------25%-----------50%-----------75%-----------100%
    
    Conversion Failed.
    Can help me to solve this?

    EDIT: And if I try to use the GUI with that dsp i can convert the file, good, Creation date stills be the same, but modification date NO. :(

    I'm testing on Windows 7 x64
    Last edited by pitoloko; 02-10-2012 at 11:05 AM.

  4. #4

    Join Date
    Mar 2011
    Posts
    38

    Re: Preserve last modified date of old file to the new converted files?

    i've found a solution with NIRCMD

    nircmd.exe setfiletime "File.mp3" "Crationdate timedate" "modificationdate modificationtime"

    Like this :
    Code:
    nircmd.exe setfiletime "%~1" "10-10-2010 12:12:12" "10-10-2010 12:12:12"
    With this code i replace the old dates for the new dates in the new file

    But for me is better if can help me to do it with the 'Preserve Source Attributes' dsp

    Thankyou
    Last edited by pitoloko; 02-10-2012 at 11:53 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •