Guest User

Untitled

a guest
Nov 11th, 2018
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. ~/mybin $ cat did
  2. #!/bin/bash
  3. dirname=~/Dropbox/misc/nogithub
  4. vim +'normal Go' +'r!date +\%a\ \%d\ \%b\ \%Y\ \%H:\%M:\%S\ \%z; echo -' -- $dirname/did.txt
  5. cd $dirname
  6. git commit -m 'update' -a
  7. ~/mybin $ cat todo
  8. #!/bin/bash
  9. dirname=~/Dropbox/misc/nogithub
  10. vim +'normal Go'  +'r!date +\%a\ \%d\ \%b\ \%Y\ \%H:\%M:\%S\ \%z; echo - TODO,' +'normal G$A' -- $dirname/did.txt
  11. cd $dirname
  12. git commit -m 'update' -a
Advertisement
Add Comment
Please, Sign In to add comment