Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###while read i;do echo "<p><a href=\"$i\" target="_blank"> $(echo $i | sed s,https://samajho.com/upsc/,,g | sed s,/,,g) </a></p>";done < samajho2021page1-12.txt >> samajhohtmllinks.txt
- ####for i in {01..12};do for j in {01..31};do echo -e "<p><a href=\"https://www.drishtiias.com/current-affairs-news-analysis-editorials/news-analysis/$j-$i-2021/print\" target=\"_blank\"> News-Analysis-of-$j-$i-2022 </a></p>\n";done;done >> DristiIAS-News-Analysis-year-2022.html
- #XDG_RUNTIME_DIR='/data/data/com.termux/files/usr/tmp/runtime-u0_a547'
- ###while read i;do pdftk $i output uncompressed.pdf uncompress && sed -e "s/Instagram - @Upsctalk/ /" uncompressed.pdf > unwatermarked.pdf && pdftk unwatermarked.pdf output ../$i compress && rm uncompressed.pdf unwatermarked.pdf;done < nlist.txt
- ###1 pdftk $1 output uncompressed.pdf uncompress , 2 sed -e "s/watermarktextstring/ /" uncompressed.pdf > unwatermarked.pdf , 3 pdftk unwatermarked.pdf output fixed.pdf compress
- export XDG_RUNTIME_DIR='/data/data/com.termux/files/usr/tmp/runtime-u0_a547'
- export RUNLEVEL=3
- alias sd="cd /data/data/com.termux/files/home/storage/shared;ls"
- alias aptc="apt autoremove -y"
- alias pipc="pip cache purge"
- alias ddo="cd ~/storage/shared/Download&&nnn&&organize;ls"
- function yts {( yt-dlp --write-auto-subs --sub-langs te --skip-download $1)}
- function subffs {( find . -mindepth 2 -name "*.$1" -print -exec mv {} . \;)}
- function m4a2mp3f {(mkdir -p m4a2mp3files;find . -name '*.m4a' -print0 | while read -d '' -r file; do ffmpeg -i "$file" -codec:v copy -codec:a libmp3lame -q:a 2 "${file%.m4a}.mp3" < /dev/null;done)}
- function m4a2mp3 {(mkdir -p m4a2mp3files;for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 m4a2mp3files/"${f%.m4a}.mp3"; done)}
- alias nip='cd ~/storage/shared/Nipuna/pages/;ls'
- function nipun {(cd ~/storage/shared/Nipuna/pages/;wget $(lkl https://ntfs.avahan.net/NT/2024/$1/$2/NID/5_{01..03}/ | grep pdf$);qpdf --empty --pages $(echo $(ls -Lrt)) -- $2-$12023.pdf;mv $2-$12023.pdf ~/storage/shared/Nipuna/pages/;rm *;cd ~/storage/shared/Nipuna/;ls;termux-open $2-$12023.pdf)}
- #function nipun {(cd ~/storage/shared/Nipuna/pages/;wget $(lkl https://ntfs.avahan.net/NT/2024/06/$1/NID/5_{01..03}/ | grep pdf$);qpdf --empty --pages $(echo $(ls -Lrt)) -- $12024.pdf;mv $12024.pdf ~/storage/shared/Nipuna/pages/;rm *;cd ~/storage/shared/Nipuna/;ls)}
- function nipunm {(cd ~/storage/shared/02-Nipuna2024/pages/;wget $(lkl https://ntfs.avahan.net/NT/2024/$1/$2/NIP/5_{01..08}/ | grep pdf$);qpdf --empty --pages $(echo $(ls -Lrt)) -- $1--$2-$1-2024.pdf;mv $1--$2-$1-2024.pdf ~/storage/shared/02-Nipuna2024/;rm *;cd ~/storage/shared/02-Nipuna2024/;ls)}
- alias juk='cd ~/storage/shared/JukeBox;ls'
- alias oo='qm $(echo $(ls)) -- $(basename $PWD.pdf);ls'
- alias tlm='cd ~/storage/shared/Download/Telegram;ls'
- function iopp {( wkhtmltopdf $1 $(curl -s $1 | grep -o "<title>[^<]*" | tail -c+8).pdf )}
- function iop {( while read i;do wkhtmltopdf $i $(echo $i | sed 's,https://pratibha.eenadu.net/tspsc/lesson/group-ii/,,g' | sed 's,/,_,g').pdf;done )}
- alias des='cd ~/storage/shared/description/;ls'
- function j2pc {( for (( i=1; i<=$1; i++));do convert -density 30x30 -quality 30 -compress jpeg $i.jpg $i.pdf;done)}
- function pragm {(qpdf --empty --pages $(echo $(ls -Lrt *.pdf)) -- $1.pdf)}
- alias qpr='qpdf --decrypt --password='
- alias tzg='tar -cvzf /sdcard/IAS/amit.tgz --owner=0 --group=0'
- alias gg='cd ~/storage/shared/Gallery;ls'
- function iastt { ( sed -i '/^Share Article$/d;/^PRINT$/d;/^A$/d' $1* ) }
- alias iast='cd ~/storage/shared/IAS/TheHindu/editorial;ls'
- alias iasd='cd ~/storage/shared/IAS/TheHindu/DristiIAS-Articles;ls'
- function ttyy { ( for i in *.txt;do echo -e "\n";echo -e "$i\n" | sed 's,\_,\ ,g';cat $i | tr -s '\n' ;done > $(pwd | sed 's,/data/data/com.termux/files/home/storage/shared/IAS/,,g' | sed 's,\/,,g').txt ) }
- alias vttallc='find . -type f -name "*.vtt" -exec python ~/vtt2text.py {} \;'
- alias rvtt='find . -type f -name "*.vtt" -exec rm {} \;'
- alias v2t="find . -name '*.vtt' -exec python ~/vtt2text.py {} \;"
- function ydlcon {(echo "--embed-thumbnail --no-part --no-warnings --no-mtime -o '$(pwd)/%(playlist)s/%(title)s -- %(uploader)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'" > ~/.config/youtube-dl/config)}
- function ydlconv {(echo "-f 18/best --embed-thumbnail --no-part --no-warnings --no-mtime -o '$(pwd)/%(playlist)s/%(title)s -- %(uploader)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'" > ~/.config/youtube-dl/config)}
- function ydlconj {(echo "-f 140 --embed-thumbnail --no-part --no-warnings --no-mtime -o '$(pwd)/%(title)s -- %(uploader)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'" > ~/.config/youtube-dl/config)}
- function ydlcons {(echo "--write-auto-sub --skip-download --no-part --no-warnings --no-mtime -o '$(pwd)/%(playlist)s/%(title)s -- %(uploader)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'" > ~/.config/youtube-dl/config)}
- alias ias='cd ~/storage/shared/IAS;ls'
- alias rin='cd ~/storage/shared/Ringtones;ls'
- alias repo='termux-change-repo'
- alias lkl='lynx -listonly -nonumbers -dump'
- alias nb='nano .bashrc'
- alias nbs='source .bashrc'
- alias n='nano'
- alias lsd="ls --color=auto --sort=time"
- alias unb="cd /data/data/com.termux/files/usr/bin;ls"
- alias ysd='cd ~/storage/shared; ls; echo "Enter u want to Go Folder name"; read fol; cd $(pwd)/$fol;ls'
- alias yys='cd ~/storage/shared/spotify-music; ls'
- alias yss='cd ~/storage/shared/Study-Materials; ls'
- alias yyj='cd ~/storage/shared/Youtube-jukebox; ls'
- alias yd='youtube-dl'
- alias sx='sox *.mp3 output.mp3 trim'
- alias wt='wget -r -c'
- alias ww='wget -c -P ~/storage/shared/youtube -O'
- alias p1='pkg search'
- alias p2='pkg install'
- alias p3='pkg uninstall'
- alias yy='cd storage/shared/youtube; ls'
- alias dd='cd storage/shared/Download; ls'
- alias ytu='pip install --upgrade yt-dlp'
- alias kk='uu && ytu && gdlu && apt autoremove -y && pp'
- alias uu='apt update && apt upgrade -y'
- alias ydlu='pip install --upgrade youtube-dl'
- alias gdlu='pip install --upgrade gallery-dl'
- alias pipu='pip install --upgrade pip'
- alias pkk='ytu && ydlu && sdlu && gdlu'
- alias acp='apt-cache policy'
- alias backuptermux='tar -cvzf /sdcard/termux.tgz --owner=0 --group=0 home usr'
- alias restoretermux='tar -xvzf /sdcard/termux.tgz'
- alias ypid='youtube-dl -j --flat-playlist'
- alias fnf="cd ~/storage/shared/Study-Materials/Finalogy;ls"
- alias tn='cd bin;nano termux-url-opener'
- alias tnf='cd bin;nano termux-file-editor'
- alias bb='termux-brightness'
- alias wifi='termux-wifi-connectioninfo'
- alias wifis='termux-wifi-scaninfo'
- alias adm='cd ~/storage/shared/adm; ls'
- function wgtt { ( wget -c -P ~/storage/shared/youtube/$1 -i $2 ) }
- alias qm='qpdf --empty --pages'
- alias sw='cd ~/storage/shared/swenworld; ls'
- alias wladda="wget --save-cookies cookies.txt --keep-session-cookies --post-data '[email protected]&password=7396601970' --delete-after https://www.adda247.com/"
- function addawdkl { ( for ((i=$1; i<=$2; i++));do wget --load-cookies cookies.txt https://www.adda247.com/4657_$i.doc ;done ) }
- alias aria='aria2c -c -x 16 -s 16 -k 1M --file-allocation=none'
- function ydd { ( youtube-dl -i --embed-thumbnail -o '~/storage/shared/youtube/%(title)s.%(ext)s' -f $1 $2 --external-downloader aria2c --external-downloader-args '-x 16 -s 16 -k 1M --file-allocation=none' ) }
- alias ariaa='aria2c -c -x 16 -s 16 -k 1M --file-allocation=none -d ~/storage/shared/youtube --http-user=munna209 --http-passwd=Munna@209'
- alias ariaaa='aria2c -c -x 16 -s 16 -k 1M --file-allocation=none -d ~/storage/shared/youtube --http-user=Karim88 --http-passwd=Karim@88'
- alias ariak='aria2c -c -x 16 -s 16 -k 1M --file-allocation=none -d ~/storage/shared/SamFirmZip --http-user=Karim4364 --http-passwd=Allah@786'
- alias tp='termux-open'
- alias tps='termux-open --send'
- function uzip { ( for i in *.zip ;do unzip -x "$i" ;done ) }
- alias ariag='aria2c -c -x 16 -s 16 -k 1M --file-allocation=none -d ~/storage/shared/youtube [email protected] --http-passwd=7396601970'
- alias tcc='termux-telephony-call'
- alias spp='spotdl -p'
- function ppp { ( spotdl --overwrite skip -f $1 -l $2 ) }
- alias spl='cd ~/storage/shared/Spotify;ls'
- function pm4a { ( spotdl --overwrite skip -o .m4a -f $1 -l $2 ) }
- alias ccc='ls |wc -l'
- alias lk='spotdl -f ~/storage/shared/Spotify -s'
- alias spc='nano ~/.config/spotdl/config.yml'
- alias p9='pip uninstall -y'
- alias p0='pip list all'
- alias p8='pip install'
- function amp3 { ( for i in *.amr; do ffmpeg -i $i $i.mp3;sox $i.mp3 N$i.mp3 noisered noise.prof 0.21;done ) }
- alias nsx='sox *.mp3 -n noiseprof noise.prof'
- alias p='python'
- alias linksall='lynx -listonly -nonumbers -dump'
- alias ffh='ffmpeg -i input.mp4 -filter:v "colormatrix=bt601:bt709, scale=1440:1080:flags=lanczos, pad=1920:1080:240:0" -c:a copy out.mp4'
- function addal { ( for ((i=$1; i>=$2; i--));do termux-open https://store.adda247.com/1624_$i.doc;done ) }
- alias rr='rename doc pdf *.doc'
- alias wwo='termux-wifi-enable true'
- alias wwf='termux-wifi-enable false'
- alias qs='qpdf --split-pages'
- function qmm { ( qpdf --empty --pages $(for i in $1*.pdf; do echo $i ; done) -- $2.pdf ) }
- alias noi='gs -o noimages.pdf -sDEVICE=pdfwrite -dFILTERIMAGE'
- function aaa { ( for ((i=$1; i<=$2; i++));do termux-open https://store.adda247.com/889_$i.doc;done ) }
- alias concattt='ffmpeg -f concat -safe 0 -i <(for f in ./*.mp3; do echo "file '$PWD/$f'"; done) -c copy output.mp3'
- function mmm { (for i in *.pdf;do gs -o $1_$i -sDEVICE=pdfwrite -dFILTERIMAGE $i;done) }
- function t2at { (echo "Enter file name all txt 2 single txt" && read fn && ls|grep .txt$|while read i ;do cat $i && echo -e "\n\n\n";done >> a$fn ) }
- function fnn { ( find . -type f | while read i;do mv "$i" "$(echo $i | sed 's,\ ,_,g')";done ) }
- function rfnn { ( find . -type f | while read i;do mv "$i" "$(echo $i | sed 's,\_,\ ,g')";done ) }
- function dfnn { ( find . -type d | while read i;do mv "$i" "$(echo $i | sed 's,\ ,_,g')";done ) }
- function rdfnn { ( find . -type d | while read i;do mv "$i" "$(echo $i | sed 's,\_,\ ,g')";done ) }
- function nnn { (ls *.*|while read file; do mv "$file" "$(echo $file | sed s/\ /_/g)"; done ) }
- function nnnf { (ls|while read file; do mv "$file" "$(echo $file | sed s/\ /_/g)"; done ) }
- function rnnn { (ls *.*|while read file; do mv "$file" "$(echo $file | sed s/_/\ /g)"; done ) }
- function rnnnf { (ls|while read file; do mv "$file" "$(echo $file | sed s/_/\ /g)"; done ) }
- function nnb { ( for i in *.txt;do cat "$i" && sed "/^[[:space:]]*$/d" "$i" >& 0 > updatedfile && cat updatedfile > "$i" && cat "$i";done ) }
- function nsf { ( cat "$1" && sed "/^[[:space:]]*$/d" "$1" >& 0 > updatedfile && cat updatedfile > "$1" && cat "$1" ) }
- function nnn786 { (ls|while read file; do mv "$file" "$(echo $file | sed s/.pdf.txt/.txt/g)"; done ) }
- function nnc { (ls|while read file; do mv "$file" "$(echo $file | sed -e 's/&/-/g' | sed -e 's/?/-/g' | sed -e 's/:/-/g')"; done ) }
- #function m4a2mp3 { ( for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; done ) }
- #function fm4a2mp3 { (mkdir -p m4a2mp3files;find . *.m4a -exec ffmpeg -i {} -codec:v copy -codec:a libmp3lame -q:a 2 m4a2mp3files/{}.mp3 \;) }
- alias m2m31="mkdir -p newfiles && nnn && m4a2mp3 && rnnn && ls"
- alias m2m32="cd newfiles && rnnn && ls"
- alias m2m3="m2m31 && m2m32"
- function v2t { (cp ~/vtt2text.py $(pwd)/ && find . -name "*.vtt" -exec python vtt2text.py {} \; && rm vtt2text.py *.vtt) }
- function v2tsf { (cp ~/vtt2text.py $(pwd)/ && find */*.vtt -exec python vtt2text.py {} \; && find */*.vtt -exec {} \; ) }
- function mmn { (gs -o $1_$2 -sDEVICE=pdfwrite -dFILTERIMAGE $2 ) }
- function ytt { ( youtube-dl -no-warnings -no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(title)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none' --embed-thumbnail -f 140 "ytsearch1:$1 jukebox" ) }
- function yth { ( youtube-dl -no-warnings -no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(title)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none' --embed-thumbnail -f 140 "ytsearch1:$1 jukebox Hindi" ) }
- function yyd { ( while read file; do youtube-dl -no-warnings -no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(title)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none' --embed-thumbnail -f 140 "ytsearch1:"$file" jukebox"; done ) }
- function ll { (echo -e "Enter url here \n" && read url && echo -e "Enter keyword here \n" && read keyword && lynx -listonly -nonumbers -dump $url | sort -u| grep "$keyword" | sed -e "s/^.*http/http/" ) }
- alias pp='exit 0'
- function hhh { ( while read file; do aria2c -c -x 16 -s 16 -k 1M --file-allocation=none -d ~/storage/shared/youtube "$file"; done ) }
- function hhj { ( while read file; do wget "$file"; done ) }
- alias filer='rename doc pdf *.doc'
- function mnb { (qpdf --empty --pages $1 $2 -- Margered_$1 ) }
- alias ydc="""youtube-dl --ignore-config --no-warnings -no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(title)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'"""
- function smsf { (curl -X "POST" "http://$1/v1/sms" -d "phone=$2" -d "message=$3" )}
- alias ydcf="""youtube-dl --ignore-config --no-warnings -no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(playlist)s/%(playlist_index)s- %(title)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'"""
- function adda1 { ( for ((i=$1; i<=$2; i++));do termux-open https://store.adda247.com/1624_$i.doc;done ) }
- function cutt {(ffmpeg $(ydc -g -f 140 $1| sed "s/.*/-ss 00:$2 -i &/") -t 00:00:$3 -c copy $4 )}
- function cump4 {(ffmpeg $(ydc -g -f 18 $1| sed "s/.*/-ss 00:$2 -i &/") -t 00:00:$3 -c copy $4 )}
- function qmall { ( qpdf --empty --pages $(for i in *.pdf; do echo $i ; done) -- $1.pdf ) }
- function epaperall { ( echo -e "Enter epapername space epaperday code" && read epapername epaperdaycode && termux-open "http://epaper.$epapername.com/download/newspaper/$epaperdaycode" ) }
- alias epmag="termux-open 'http://epaper.suryaa.com/t/10695/?s=Sunday' && termux-open 'https://epaper.andhrajyothy.com/t/12126/Sunday Magazine' && termux-open 'http://epaper.suryaa.com/t/10695/?s=Sunday' && termux-open 'http://epaper.prajasakti.com/t/5928/?s=Sneha (Sunday book)'"
- function depmag { ( echo -e "Enter epaperday code separate by space" && read dmag1 dmag2 dmag3 && termux-open "http://epaper.suryaa.com/download/issue/magazine/$dmag1" && termux-open "https://epaper.andhrajyothy.com/download/issue/magazine/$dmag2" && termux-open "http://epaper.prajasakti.com/download/issue/magazine/$dmag3" ) }
- function jldl { ( while read file; do echo "$file jukebox"; done ) }
- function ydlsd { ( while read file; do youtube-dl --no-part --no-warnings --no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(title)s -- %(uploader)s.%(ext)s' -f 140 -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none' ytsearch:"$file Telugu jukebox"; done) }
- function ydlj { ( while read file; do youtube-dl ytsearch:"$file Telugu jukebox"; done ) }
- function ydlj1 { ( youtube-dl ytsearch:"$1 jukebox" ) }
- function rauca { (while read file; do ls echo -e "please wait .pdf file downloading.... \n" aria2c -c -x 16 -s 16 -k 1M --file-allocation=none --http-user=dkarimulla2011@gmail.com --http-passwd=Allah@786 $(lynx -listonly -nonumbers -dump $file | grep .pdf$ ) ls; done ) }
- function addaeb { ( for ((i=$1; i<=$2; i++));do termux-open https://store.adda247.com/4381_$i.doc;done ) }
- function rname { ( while read i; do echo '''<outline type="rss" title="$i" xmlUrl="$j" retrieveFullText="true" />''';done ) }
- function mont { ( for i in {1..12};do date +%B -d "$i/01/1980" | tr [A-Z] [a-z];done ) }
- function wfmon { ( while read i; do echo "https://currentaffairs.studyiq.com/monthly/$i-2020" ; done ) }
- function studyiQ { ( while read file;do aria2c -c -x 16 -s 16 -k 1M $(lynx -listonly -nonumbers -dump $file | grep 'http://www.mediafire.com/file' ); done ) }
- function addassceb { ( for ((i=$1; i<=$2; i++));do termux-open https://www.adda247.com/2954_$i.doc;done ) }
- alias ydownl="""--no-part --no-warnings --no-mtime -o '/data/data/com.termux/files/home/storage/shared/Youtube/%(title)s -- %(uploader)s.%(ext)s' -f 140 -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'"""
- function ydjl { ( while read f;do youtube-dl --default-search "ytsearch" -e -g ytsearch:"$f Jukebox";done ) }
- alias tbs="termux-open 'https://www.prepmate.in/monthly-magazine/' && termux-open 'https://www.iasparliament.com/downloads/current-affairs-magazine'"
- alias stv="termux-open https://youtu.be/8McTsOqeueE"
- function mp42m4a { ( while read f;do ffmpeg -i $f -map 0:a -c copy $f.m4a; done ) }
- function gspdf { ( while read file;do aria2c -c -x 16 -s 16 -k 1M --http-user=dkarimulla2011@gmail.com --http-passwd=Allah@786 $(lynx -listonly -nonumbers -dump $file | grep .pdf$ ); done ) }
- function sscje { ( for ((i=$3; i<=$2; i++));do termux-open https://www.adda247.com/$1_$i.doc;done ) }
- function sscje { ( for ((i=$3; i<=$2; i++));do termux-open https://www.adda247.com/$1_$i.doc;done ) }
- function tplinks { ( while read f ;do termux-open $f;done ) }
- alias sdh="cd ~/storage/shared/Study-Materials/TheHinduAstxtfiles;lsd;pwd"
- alias sds="cd ~/storage/shared/StudyMaterials;lsd;pwd"
- alias sdso="cd ~//storage/shared/Study-Materials/Opinion-Articles-TH;lsd"
- function thao { ( lynx -listonly -nonumbers -dump https://www.thehindu.com/opinion/feeder/default.rss | grep https://www.thehindu.com/opinion | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 | sed '/opinion\/letters\|columns\|cartoon\|Readers-Editor/d') }
- alias athao="lynx -listonly -nonumbers -dump https://www.thehindu.com/opinion/feeder/default.rss | grep https://www.thehindu.com/opinion"
- #### | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 | sed '/opinion\/letters\|columns\|cartoon\|Readers-Editor/d'"
- function thaol { (lynx -listonly -nonumbers -dump https://www.thehindu.com/opinion/feeder/default.rss | grep https://www.thehindu.com/opinion | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 | sed '/opinion\/letters\|cartoon/d') }
- function thaoe { ( sed -i '/cartoon\|cartoonscape/d' $1 ) }
- function thap { (lynx -listonly -nonumbers -dump https://www.thehindu.com/news/national/andhra-pradesh/feeder/default.rss | grep https://www.thehindu.com/news/national/andhra-pradesh | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 ) }
- function thae { (lynx -listonly -nonumbers -dump https://www.thehindu.com/business/Economy/feeder/default.rss | grep https://www.thehindu.com/business/Economy | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 ) }
- function thaa { (lynx -listonly -nonumbers -dump https://www.thehindu.com/business/agri-business/feeder/default.rss | grep https://www.thehindu.com/business/agri-business | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 ) }
- function thai { (lynx -listonly -nonumbers -dump https://www.thehindu.com/news/international/feeder/default.rss | grep https://www.thehindu.com/news/international | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 ) }
- function aeio { (for i in *.txt ;do cat $i && echo -e "\n\n\n" ; done) }
- function p2tt { (for i in *.pdf ;do echo converting...$i | sed s,.pdf,.txt,g && pdftotext $i $(echo $i | sed s,.pdf,.txt,g) ; done ) }
- alias ndfs="tree -a -L 1 && tree -a"
- function thaoo { (echo -e Enter file name to compare previous one;read num;comm -3 <(sort $num.txt) <(sort $(($num-100)).txt) ) }
- function tthao { (lynx -listonly -nonumbers -dump https://www.thehindu.com/opinion/feeder/default.rss | grep https://www.thehindu.com/opinion | sed 's,<link>,,g' | sed 's,</link>,,g' | sed 's, ,,g' | head -n $1 > 1.txt && sed -i '/cartoon\|cartoonscape/d' 1.txt && tp 1.txt ) }
- function opn { ( sdso && tthao $1 ) }
- ###alias ydlsub """youtube-dl --write-auto-sub --skip-download --no-part --no-warnings --no-mtime -o '~/storage/shared/IAS/%(playlist)s/%(title)s -- %(uploader)s.%(ext)s' -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'"""
Add Comment
Please, Sign In to add comment