[ lame-Feature Requests-3525781 ] Option to preserve the file creation + modification date in

SourceForge.net <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[email protected]>
Feature Requests item #3525781, was opened at 2012-05-11 01:44
Message generated for change (Comment added) made by superfreaky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=350290&aid=3525781&group_id=290

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Frontends (lame/mp3x/...)
Group: Compatibility
Status: Open
Priority: 5
Private: No
Submitted By: Stefan  Schnitter (superfreaky)
Assigned to: Nobody/Anonymous (nobody)
Summary: Option to preserve the file creation + modification date in 

Initial Comment:
Hi,
having many old files which require sorting by date.
I need to retain the file creation and change dates, so an option/checkbox to select this would be very helpful.

This is a common request (3489332 	Add encoding option to maintain file modification time 	Open 	2012-02-19 	nobody 	jmcatee 	5 ) and easy to implement and would maintain compatibilty,



----------------------------------------------------------------------

>Comment By: Stefan  Schnitter (superfreaky)
Date: 2012-07-05 06:44

Message:
The majority of users has Windows, so the below commands do not work. THe
files have different timstamps, so one cannot change them recursively to
match. It would be very helpful, Windows frontends like Audacity would
support this feature.

----------------------------------------------------------------------

Comment By: Robert Hegemann (robert)
Date: 2012-07-05 05:57

Message:
This doesn't sound like a feature I would add to LAME. People, who really
need to have their mp3 files with the same timestamps, can run "touch -r
my.wav my.mp3" afterwards and be done with it.

----------------------------------------------------------------------

Comment By: Thomas Orgis (sobukus)
Date: 2012-07-05 03:56

Message:
Are we really talking about creation time? This does not exist in POSIX.
There is access and modification time (as well as attribute change time).
If we want to keep modification time, this sequence of shell commands would
do the trick:

mv file.mp3 file.mp3.old
lame input.wav file.mp3
touch -r file.mp3.old file.mp3
rm file.mp3.old

file.mp3 will have new contents but old mtime / atime.

My point being: Should one really add functionality to lame to lie about
what it does (modifying the output file)? Isn't that orthogonal to its
purpose of encoding MPEG audio?


----------------------------------------------------------------------

Comment By: Stefan  Schnitter (superfreaky)
Date: 2012-07-03 03:14

Message:
This was the description for Audacity. For LAME, a commandline option
"--preserve-filedates" could be used.

Many have Gigabytes with old wave/other audio formats to be converted.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=350290&aid=3525781&group_id=290

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.