An idea to cater for when you might do a re-rip that overwrites a flac
in the source
#This works in the default shell in pCP so I expect will work in more
complete shells elsewhere
Code:
--------------------
source_file=a.flac;
target_file=a.ogg;
if [ "$source_file" -nt "$target_file" ]
then
printf '%s\n' "$source_file is newer than $target_file"
fi
--------------------
i.e. in the part where you check for the ogg file already existing you
could add a check to see if the .flac is newer than the .ogg and then do
the encoding bit if it is.
Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110496
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping