|
From: Fmiser <fm...@gm...> - 2012-08-12 23:40:10
|
> Marano Romian wrote: > I looked up... > http://sox.sourceforge.net/libsox.html > http://sox.sourceforge.net/sox.html > and don't even figure out how to do it simply... But I ask for > better default to be made for all! > not let too many beginners lose their important files like I > did, with sox. Pls., developers, just wire it in as deafault. > No overwrite! Prompt the user! I'm not sure I understand your request. I _think_ what you are asking is to change SoX so if the output file exists the user is prompted before overwriting? If that is what you are asking for, I suspect the answer will be "no". Sorry. SoX has been around a long time. The establish default for command line tools is to _not_ prompt. If there is an existing file, just overwrite. Many tools have an option to enable prompting rather than silent overwrite - but the user has to choose this behavior, it is _not_ the default. Thus it is not idiot proof. Also, a change like that will break a lot of existing scripts. What will be gained? "Safer" behavior for inexperienced users by making SoX behave different that most other command line tools. Core commands like "cp" and "mv" are _not_ interactive unless specifically told to be so. I don't think making SoX different than most command line tools would be good in the long run - not even for new users. > Just like as clever as sox is, its sister ffmpeg does! ffmpeg breaks the standard command line method of "interactive only upon request"? Sure enough. There it is. "-y" overwrite output file. Wow.... For reference, in SoX, the option to request interactive behavior is "--no-clobber". If this is not what your asking for, please clarify. One way is to post the actual command you used and explain what it did that you were not expecting. -- Philip |