scripts

Scripts I find useful.
git clone https://codeberg.org/tilt/scripts.git
Log | Files | Refs | README | LICENSE

README.md (2866B)


      1 # Random scripts
      2 
      3 Scripts I have either found, found and edited or written myself.
      4 
      5 ## backup-home
      6 
      7 Clone home folder to external hard drive using rsync. 
      8 Will make an exact copy, i.e. if you delete a file in your home folder you
      9 backed up previously, on new backup it will delete that file on the 
     10 external drive.
     11 
     12 ## bsc
     13 
     14 Convert multiple video files to format of choice using ffmpeg.
     15 
     16 ## ch
     17 
     18 More of a command then a script, but a simple way to tldr different commands.
     19 
     20 ## cryptotracker
     21 
     22 Track cryptocurrencies from your terminal using rate.sx.
     23 
     24 ## disabletouchpad
     25 
     26 Bash script to run at system startup to disable touchpad from laptop.
     27 
     28 ## dmwg
     29 
     30 Script to enable or disable wireguard client through dmenu.
     31 
     32 ## firewall
     33 
     34 A fork of [ChrisTitusTech's firewallsetup][]. It's basically identical, except it works with flags instead of three seperate scripts.
     35 
     36 ```
     37 firewall is a simple script to manage iptables with.
     38 
     39 Syntax: firewall [-h|u|r|d]
     40 options:
     41 -h    Print this help message.
     42 -u    Add firewall rules.
     43 -r    Reload firewall.
     44 -d    Take down iptables.
     45 ```
     46 
     47 ## fomc
     48 
     49 How I convert music releases I made to multiple formats for [my website][].
     50 Basically you will give it a path that contain folder(s) with the name _flac
     51 and and these it will go through and make ogg and mp3 conversations and zip
     52 them up so they're ready to download.
     53 
     54 ## hostscan
     55 
     56 Bash script to quickly check one, or multiple, hosts hostkey fingerprint(s).
     57 
     58 ## mintstall
     59 
     60 Packages I always install on Linux Mint setup i.e. packages I always install
     61 on Ubuntu 20.04 based distributions.
     62 
     63 ## mounter
     64 
     65 Slightly modified version of [yi314s][] script to (un)mount external drives in rofi. 
     66 
     67 ## stvc
     68 
     69 Convert a video to a compressed good stream quality video in format of choice.
     70 
     71 ## syncr
     72 
     73 rsync command to upload local changes to remote server website folder (with
     74 option to exclude certain folders, like if your website-folder is a git repo
     75 for instance, or you'd like to not upload some parts which you are still
     76 editing). It also deletes files/folders from remote location that is not
     77 present on your local machine.
     78 
     79 You need to have public key authentication setup and make sure the user on
     80 remote server is part of www-data group. Also documented how to use this script
     81 on [my blog][].
     82 
     83 ## texodt
     84 
     85 Script to convert .tex to .odt using latex2html and libreoffice. 
     86 An alternative to pandoc I suppose (because I wrote this script before I knew
     87 pandoc existed...)
     88 
     89 ## thicc
     90 
     91 Display largest files/folder from current directory hierarcy.
     92 
     93 ## wordfreq
     94 
     95 Get 10 most used words in a file.
     96 
     97 ## wordgenerator
     98 
     99 Generate random words.
    100 
    101 ---
    102 [ChrisTitusTech's firewallsetup]: https://github.com/ChrisTitusTech/firewallsetup
    103 [my website]: https://rickylinden.com/music.html
    104 [yi314s script]: https://github.com/yi314/udisks-rofi
    105 [my blog]: https://rickylinden.com/blog/updating-a-website-using-rsync.html