Skip to content
Eduardo Lisboa edited this page Aug 25, 2020 · 8 revisions

Welcome to the linux-time-machine.sh wiki!

Read this little FAQ:

1. Why did you create this project?

Short Answer: For fun

Long Answer: There are other solutions that work way better than this and I have not the intention to compete with them. My main purpose is to practice my knowledge with the following subjects:

  • shell script (which I get along pretty well)

  • git (which I'm trying to go beyond the mostly basic daily use)


2. How does it work?

SA: It creates a git branch for every day and then automatically commits changes

LA: First, you have to manually add files, and then they will be automatically versioned. The automation is made using cron. When called, the script:

  • checks if there is a repository

    • if not, creates it
  • checks if there is a branch matching the current day

    • if not, creates it
  • checks changes on added or if there are removed files

    • if a file is removed from disk, then delete files from git repository

    • if a file is changed, commit their changes


3. How can I go back in time?

SA: this feature wasn't yet implemented

LA: I'm still thinking about which would be a better idea: a web interface or a graphical/cli one. There's another issue too: I want this to be container-friendly, so this decision must match this dependency.