Browse Source

sftp-into-eye: don't stop on non-video files

master
Ivan Kozik 1 month ago
parent
commit
8ed027aad5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sftp-into-eye

+ 1
- 1
sftp-into-eye View File

@@ -28,7 +28,7 @@ while read i; do
size=$(es x info -- "$i" | jq .size)

is_video=0
echo -n "$i" | rg -q '\.(mp4|webm|flv|video)$' && is_video=1
echo -n "$i" | rg -q '\.(mp4|webm|flv|video)$' && is_video=1 || true

the_eye_video_bytes_saved=0
the_eye_video_files_saved=0


Loading…
Cancel
Save