From: Alan J. Pippin Date: Wed, 1 Feb 2012 06:43:46 +0000 (-0700) Subject: Tweaked fix to copy back largest mkv created X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/images/static/.%24link.?a=commitdiff_plain;h=7e028b6e225274bf5a43e2d454c775ca4c371ece;p=rip_dvd%2F.git Tweaked fix to copy back largest mkv created --- diff --git a/rip_dvd b/rip_dvd index 0035a2d..7c6bc3c 100755 --- a/rip_dvd +++ b/rip_dvd @@ -1166,7 +1166,7 @@ function make_dvd_mkv_image { # Move the largest created MKV file into place # There might be multiple ones, so just grab the largest one - largest_mkv_file=`/bin/ls -rS "$dstdir"/*.mkv | head -1` + largest_mkv_file=`/bin/ls -1S "$dstdir"/*.mkv | head -1` echo -e "\n Moving largest mkv file $largest_mkv_file -> $dstmkv\n" | tee -a "$ddrescuelog" mv "$largest_mkv_file" "$dstmkv"