mercredi 8 mars 2023

ssh / scp

 to tranfer a file from your local host to a remote vm with ssh use scp:

scp -P 12345 ./some.zip username@123.123.321.321:/home/username/somefolder

Aucun commentaire:

Enregistrer un commentaire

bash script to convert all mp4 in a folder to mkv files with ffmpeg

 #!/bin/bash for i in *.mp4; do   echo "$i" "${i%%.*}.mkv"   ffmpeg -i "$i" -vcodec copy -acodec copy "${...