This file contains 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
name="" | |
while getopts "s:" opt; do | |
case $opt in | |
s) | |
name="$OPTARG" | |
;; | |
\?) | |
echo "Invalid option $OPTARG" | |
exit 1 | |
;; |
This file contains 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
drive.mount("/content/drive") | |
print("Enter direct link of a file") | |
!read url && wget -P "/content/drive/My Drive" $url |
This file contains 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
::========================================================================+ | |
:: Author: Harsh Navdhare | | |
:: Description: This script takes a video file as an arguement and | | |
:: compresses it by encoding it in H265. | | |
:: See https://unix.stackexchange.com/a/38380 | | |
:: Prerequisites : The script assumes you have ffmpeg installed on your | | |
:: computer and added to your path. | | |
:: If not, see | | |
:: https://spadebee.com/2020/06/02/how-to-install-ffmpeg/ | | |
:: | |