scripts

Scripts for general automations
git clone git://git.laack.co/scripts.git
Log | Files | Refs

web.sh (389B)


      1 #!/bin/bash
      2 # web.sh is an executable I use for archiving web content.
      3 # Frequently I find something interesting I want to archive. This opens the directory I 
      4 # archive these things in. It doesn't do the archiving, just opens the correct place. 
      5 
      6 MONTH=$(date "+%Y-%m")
      7 mkdir -p $HOME/personal-files/web/$MONTH
      8 
      9 st -e bash -c 'cd ~/personal-files/web && nvim $(date "+%Y-%m"); exec bash'