vid: Added file extension ASF.

This commit is contained in:
Ole Tange 2019-01-08 01:20:11 +01:00
parent d95d465850
commit eb3c995426

View file

@ -95,11 +95,11 @@ update_list() {
(cd "$full_path_vidlist_dir" && (cd "$full_path_vidlist_dir" &&
# Find video files, print them with size prepended # Find video files, print them with size prepended
ionice -c 3 find . -iregex \ ionice -c 3 find . -iregex \
'.*\(webm\|rm\|mov\|mpg\|mpeg\|avi\|wmv\|flv\|mp4\|3gp\)$' \ '.*\(webm\|rm\|mov\|mpg\|mpeg\|asf\|avi\|wmv\|flv\|mp4\|3gp\)$' \
-type f -printf '%s\t%p\n' || -type f -printf '%s\t%p\n' ||
# If ionice -c 3 fails, try without # If ionice -c 3 fails, try without
find . -iregex \ find . -iregex \
'.*\(webm\|rm\|mov\|mpg\|mpeg\|avi\|wmv\|flv\|mp4\|3gp\)$' \ '.*\(webm\|rm\|mov\|mpg\|mpeg\|asf\|avi\|wmv\|flv\|mp4\|3gp\)$' \
-type f -printf '%s\t%p\n') | -type f -printf '%s\t%p\n') |
# Sort by size # Sort by size
sort -rn | sort -rn |