fix cd
This commit is contained in:
parent
2024f587ed
commit
c1b053b67d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ export LC_ALL=C.UTF8
|
||||||
|
|
||||||
TEMP_FOLDER='/tmp/dlp-trnsrpt'
|
TEMP_FOLDER='/tmp/dlp-trnsrpt'
|
||||||
mkdir -p "$TEMP_FOLDER"
|
mkdir -p "$TEMP_FOLDER"
|
||||||
cd "$TEMP_FOLDER"
|
cd "$TEMP_FOLDER" || exit 1
|
||||||
|
|
||||||
yt-dlp --write-auto-sub --sub-langs 'en.*,.*orig' --convert-subs=srt --skip-download "$*"
|
yt-dlp --write-auto-sub --sub-langs 'en.*,.*orig' --convert-subs=srt --skip-download "$*"
|
||||||
nvim "$TEMP_FOLDER"/*-orig*
|
nvim "$TEMP_FOLDER"/*-orig*
|
||||||
|
|
Loading…
Add table
Reference in a new issue