Skip to content

A simple script that allows you to keep a log of your activities

License

Notifications You must be signed in to change notification settings

kekePower/MyLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyLog

2015-2019 - Licensed under GPL, any version

MyLog is a script written for the ZSH shell that I use to log one-liners about what I do in my life. It's just for fun, but this script can also be used to keep track of changes you've made to your system or events that you may want to have on record.

It's really simple, but it works.

How to install

You can copy the mylog shell script to, i.e. ~/bin/mylog, and make it executable with chmod 750 ~/bin/mylog.

Then just run the script. It will ask if you want to run setup.

Hit Return and the script creates the log-file and creates the symlinks neccessary.

You will have to edit the Makefile and then run make install.

When a new version is released, you can run make update to just install mylog. This is broken at the moment. Haven't had a chance to look at it.

Or, you can do it manually as described below.

  1. Download script and place it in your path. I use ~/bin/
  2. Create a directory called ~/.config/mylog (mkdir ~/.config/mylog)
  3. Create a file called mylog (touch ~/.config/mylog/mylog)
  4. Create symlinks for the other functions
  5. ln -s ~/bin/mylog ~/bin/myview
  6. ln -s ~/bin/mylog ~/bin/mysearch
  7. Protect your log
  8. chmod 640 ~/.config/mylog

Plans or hopes for the future

I'd like to extend the script so that it'll work in a department. Thinking that it'll log based on the current user and with a global log-file, placed on a global share.

Perhaps create a way to create reports that will be emailed to a set of defined users. The report will be based on dates or a user and can be run as a cron-job.

Let me know what you'd like to see this script do and I'll try.

Screenshots

MyLog Screenshot 1 MyLog Screenshot 2 MyLog Screenshot 3

About

A simple script that allows you to keep a log of your activities

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published