Sort images by date

Ever had delayed subtitles? subTime.sh is a CLI php script that fixes the problem by delaying the subtitles to sync with the video


Get the file

Download subTimer.zip


Run script

This simple code runs in the terminal

# First run
~$: php ./subTimer.php
?) it will ask you to drop the file to get the path or to write it down
?) then it will ask you the time in milliseconds you want your srt file delayed
NOTE: negative are accepted, -2000 will remove 2 seconds in the file


This script is shared "as it is". There's no filetype verification nor security checks involved. This is meant to be used in a personal computer.
I will take no responsability if you use it on your website and it generates errors.