This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| echo. | |
| echo ################################################################## | |
| echo ## ## | |
| echo ## FFMPEG VIDEO COMPRESSOR ## | |
| echo ## ## | |
| echo ################################################################## | |
| echo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #set -ex | |
| OUTPUT_FOLDER=converted_videos | |
| for i; do | |
| d=$(dirname "$i") | |
| b=$(basename "$i") | |
| mkdir -p "$d/$OUTPUT_FOLDER" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Backup current Dockerfile | |
| find . -type f -name "Dockerfile" -execdir cp \{} \{}_$(date '+%Y%m%d') \; | |
| # Replace ENV syntax to new one inside Dockerfile | |
| find . -type f -name "Dockerfile" -exec sed -i "s/ENV \+\([^ ]\+\) \+\(.\+\)/ENV \1=\2/Ig" {} \; |