Bump up version number to 8.0

This commit is contained in:
q3aql 2022-01-02 17:20:24 +01:00
parent 75cd8bc8cc
commit d6a0385270
32 changed files with 182 additions and 161 deletions

View File

@ -1,6 +1,6 @@
@echo off
set VERSION=7.3
set VERSION=8.0
echo.
echo #####################################
echo # Welcome to ks-tools installer %VERSION% #

View File

@ -4,7 +4,7 @@
# cygwin-path - Convert Windows paths in Cywin paths & vice versa #
# Date: 28-03-2020 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
####################################################################
VERSION="1.0"
M_DATE="280320"

20
cygwin/ks-tools-cmd.cmd Normal file
View File

@ -0,0 +1,20 @@
@echo off
rem ######################################
rem # ks-tools for Windows #
rem # U. Modificacion: 01-02-2022 #
rem # Author: q3aql #
rem # Contact: q3aql@duck.com #
rem # License: GPL v2.0 #
rem ######################################
set VERSION=8.0
rem # Start ks-tools terminal (bash)
cd "%~d0%~p0"
mkdir home\%USERNAME%
copy /Y prompt\.bashrc home\%USERNAME%
copy /Y prompt\.minttyrc home\%USERNAME%
cls
set PATH=%PATH%;%~d0%~p0\bin
bin\bash.exe
rem bash

View File

@ -2,18 +2,19 @@
rem ######################################
rem # ks-tools for Windows #
rem # U. Modificacion: 03-05-2021 #
rem # U. Modificacion: 01-02-2022 #
rem # Author: q3aql #
rem # Contact: q3aql@protonmail.ch #
rem # Contact: q3aql@duck.com #
rem # License: GPL v2.0 #
rem ######################################
set VERSION=7.3
set VERSION=8.0
rem # Start ks-tools terminal (bash)
cd "%~d0%~p0"
mkdir home\%USERNAME%
copy /Y prompt\.bashrc home\%USERNAME%
copy /Y prompt\.minttyrc home\%USERNAME%
cls
set PATH=%PATH%;%~d0%~p0\bin
mintty
bin\mintty.exe
rem bash

View File

@ -185,7 +185,7 @@ alias Z:="/cygdrive/z"
# Show menu of ks-tools
echo ""
echo " #####################################"
echo " # ks-tools 7.3 (for Windows/Cygwin) #"
echo " # ks-tools 8.0 (for Windows/Cygwin) #"
echo " #####################################"
echo ""
echo " * Note:"
@ -204,7 +204,7 @@ echo " - ks-mp4s - ks-mp4k-wrapper"
echo " - ks-mix - ks-mp4s-wrapper"
echo " - ks-avi - ks-mp4s-folder"
echo " - ks-mp3 - ks-mp3-album"
echo " - ks-vob"
echo " - ks-vob - ks-conf"
echo ""
echo " * Type 'all-commands' for show all commands."
echo ""

View File

@ -2,12 +2,12 @@
rem ######################################
rem # ks-tools for Windows #
rem # U. Modificacion: 03-05-2021 #
rem # U. Modificacion: 01-02-2022 #
rem # Author: q3aql #
rem # Contact: q3aql@protonmail.ch #
rem # Contact: q3aql@duck.com #
rem # License: GPL v2.0 #
rem ######################################
set VERSION=7.3
set VERSION=8.0
rem # Start ks-tools ZUI (bash)
mkdir home\%USERNAME%

View File

@ -2,12 +2,12 @@
#################################################################
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#################################################################
VERSION="7.3 (BETA)"
M_DATE="030521"
VERSION="8.0 (BETA)"
M_DATE="020122"
# Function to show about
function showAbout() {

View File

@ -2,12 +2,12 @@
#################################################################
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#################################################################
VERSION="7.3 (BETA)"
M_DATE="030521"
VERSION="8.0 (BETA)"
M_DATE="020122"
# Function to show about
function showAbout() {

View File

@ -2,12 +2,12 @@
###############################################################
# ks-tools - Initialize the ks-tools terminal (using xterm) #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Variables
name_terminal="ks-tools v${VERSION} (${M_DATE})"

View File

@ -114,7 +114,7 @@ fi
echo ""
echo " #################################"
echo " # ks-tools 7.3 (for Unix/Linux) #"
echo " # ks-tools 8.0 (for Unix/Linux) #"
echo " #################################"
echo ""
echo " * Available commands:"
@ -129,5 +129,5 @@ echo " - ks-mp4s - ks-mp4k-wrapper"
echo " - ks-mix - ks-mp4s-wrapper"
echo " - ks-avi - ks-mp4s-folder"
echo " - ks-mp3 - ks-mp3-album"
echo " - ks-vob"
echo " - ks-vob - ks-conf"
echo ""

View File

@ -2,12 +2,12 @@
###############################################################
# ks-tools - Initialize the ks-tools ZUI (using xterm) #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3 (BETA)"
M_DATE="030521"
VERSION="8.0 (BETA)"
M_DATE="020122"
# Variables
name_terminal="ks-tools v${VERSION} (${M_DATE})"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-avi (ks-tools) - Convert video to AVI format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"
@ -29,6 +29,12 @@ default_lang_audio="spa"
default_lang_subt="spa"
v_ext="avi"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -84,12 +90,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
###############################################################
# ks-crop (ks-tools) - Crop or change aspect ratio of a video #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"

View File

@ -2,12 +2,12 @@
#####################################################################
# ks-mix (ks-tools) - Extract video/audio and mix video/audio files #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#####################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# File(s) detection
current_dir="$(pwd)"

View File

@ -2,12 +2,12 @@
#########################################################################
# ks-mp3 (ks-tools) - Convert video/audio file(s) to MP3 (Audio) Format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#########################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"
@ -22,6 +22,12 @@ b_acodec="128k"
v_ext="mp3"
default_lang_audio="spa"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -52,12 +58,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
######################################################################
# ks-mp3-album (ks-tools) - Convert folder album to MP3 Audio Format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
######################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Variables
tempFile="/tmp/ks-mp4s-folder.txt"
@ -29,6 +29,12 @@ track_init="1"
artist_init="Artist"
default_lang_audio="spa"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -59,12 +65,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
###############################################################
# ks-mp4 (ks-tools) - Convert video to MP4 format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"
@ -29,6 +29,12 @@ default_lang_audio="spa"
default_lang_subt="spa"
v_ext="mp4"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -84,12 +90,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
###############################################################
# ks-mp4k (ks-tools) - Convert video to MP4 format (4K) #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"
@ -29,6 +29,12 @@ default_lang_audio="spa"
default_lang_subt="spa"
v_ext="mp4"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -84,12 +90,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
###############################################################
# ks-mp4s (ks-tools) - Convert video to MP4 format (Series) #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"
@ -29,6 +29,12 @@ default_lang_audio="spa"
default_lang_subt="spa"
v_ext="mp4"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -84,12 +90,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
#################################################################################
# ks-mp4s-folder (ks-tools) - Convert videos from folder to MP4 format (Series) #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#################################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Variables
tempFile="/tmp/ks-mp4s-folder.txt"

View File

@ -2,12 +2,12 @@
#############################################################################
# ks-oga (ks-tools) - Convert video/audio file(s) to OGA (OGG Audio) Format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#############################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters
dirTemp="/tmp"
@ -22,6 +22,12 @@ b_acodec="130k"
v_ext="oga"
default_lang_audio="spa"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -52,12 +58,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
############################################################################
# ks-oga-album (ks-tools) - Convert folder album to OGA (OGG Audio) Format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
############################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Variables
tempFile="/tmp/ks-mp4s-folder.txt"
@ -29,6 +29,12 @@ track_init="1"
artist_init="Artist"
default_lang_audio="spa"
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Create inicial config file
mkdir -p ${configFolder}
if [ -f ${configFile} ] ; then
@ -59,12 +65,6 @@ else
source ${configFile}
fi
# Check cygwin alias (for Windows)
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
shopt -s expand_aliases
source "/usr/bin/cygwin-alias.sh"
fi
# Check if ffmpeg is installed
ffmpeg_test=$(ffmpeg --help 2>&1)
error_ffmpeg=$?

View File

@ -2,12 +2,12 @@
#####################################################################
# ks-upa (ks-tools) - Upload audio file(s) to server with rsync+ssh #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
#####################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters.
dirTemp="/tmp"

View File

@ -2,12 +2,12 @@
######################################################################
# ks-upf (ks-tools) - Upload common file(s) to server with rsync+ssh #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
######################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters.
dirTemp="/tmp"

View File

@ -2,12 +2,12 @@
###########################################################################
# ks-upr (ks-tools) - Upload recursively file(s) to server with rsync+ssh #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###########################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters.
dirTemp="/tmp"

View File

@ -2,12 +2,12 @@
######################################################################
# ks-upv (ks-tools) - Upload videos file(s) to server with rynsc+ssh #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
######################################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Global parameters.
dirTemp="/tmp"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-avi (ks-tools) - Convert video to VOB DVD Format #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Basic parameters
rel_size="720x480"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-avi-wrapper (ks-tools) - Wrapper for ks-avi #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Conversion parameters
ks_avi_to_wrap="/usr/bin/ks-avi"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-mp4-wrapper (ks-tools) - Wrapper for ks-mp4 #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Conversion parameters
ks_mp4_to_wrap="/usr/bin/ks-mp4"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-mp4k-wrapper (ks-tools) - Wrapper for ks-mp4k #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Conversion parameters
ks_mp4k_to_wrap="/usr/bin/ks-mp4k"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-mp4s-wrapper (ks-tools) - Wrapper for ks-mp4s #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Conversion parameters
ks_mp4s_to_wrap="/usr/bin/ks-mp4s"

View File

@ -2,12 +2,12 @@
###############################################################
# ks-vob-wrapper (ks-tools) - Wrapper for ks-vob #
# Date: 03-05-2021 #
# Date: 02-01-2022 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
###############################################################
VERSION="7.3"
M_DATE="030521"
VERSION="8.0"
M_DATE="020122"
# Conversion parameters
ks_vob_to_wrap="/usr/bin/ks-vob"