Changed shebangs from dash to system shell
parent
81029d189a
commit
73fe913eae
@ -1,3 +1,3 @@
|
|||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
# Convert audio files recursively to opus
|
# Convert audio files recursively to opus
|
||||||
find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a -o -iname \*.wav \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \;
|
find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a -o -iname \*.wav \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \;
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
## Convert video files to mp4 x265 codec
|
## Convert video files to mp4 x265 codec
|
||||||
find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm -o -iname \*.avi \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=1280x720 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset ultrafast "${i%.*}-x265.mp4" && rm -f "$i"' \;
|
find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm -o -iname \*.avi \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=1280x720 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset ultrafast "${i%.*}-x265.mp4" && rm -f "$i"' \;
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
#!/usr/bin/env sh
|
#!/bin/sh
|
||||||
perl -pi -e 's/\r\n|\n|\r/\r\n/g' $1
|
perl -pi -e 's/\r\n|\n|\r/\r\n/g' $1
|
||||||
|
|||||||
Loading…
Reference in New Issue