ソースを参照

echo -E

master
Ivan Kozik 1ヶ月前
コミット
6e462b1e6d
1個のファイルの変更5行の追加5行の削除
  1. +5
    -5
      sftp-into-eye

+ 5
- 5
sftp-into-eye ファイルの表示

@@ -23,18 +23,18 @@ wait-until-jobs-below() {
RCLONE_DEST=jeff

while read i; do
echo $i
echo -E $i

eye_path=$(path-to-eye-path "$i" | sed -r "s,$HOME/stash/,,g")
info=$(es x info -- "$i")
file_id=$(echo "$info" | jq .id)
size=$(echo "$info" | jq .size)
file_id=$(echo -E "$info" | jq .id)
size=$(echo -E "$info" | jq .size)

# If already in namedfiles i.e. the-eye, skip
echo "$info" | rg -q -F '"type": "namedfiles"' && continue || true
echo -E "$info" | rg -q -F '"type": "namedfiles"' && continue || true

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

the_eye_video_bytes_saved=0
the_eye_video_files_saved=0


読み込み中…
キャンセル
保存