about summary refs log tree commit diff stats
path: root/apps/ex4
Commit message (Expand)AuthorAgeFilesLines
* 6622 - new syscalls: time and ntimeKartik Agaram2020-07-081-0/+0
* 6604 - new appKartik Agaram2020-07-011-0/+0
* 6409 - primitives for text-mode UIsKartik Agaram2020-05-271-0/+0
* 5856Kartik Agaram2020-01-011-0/+0
╌╌╌╌╌╌╌╌╌╌ Running just `leo' will print help. 3 Example ═════════ ┌──── │ # This will encrypt, sign & also delete the tar file for documents, │ # journal, pass & ssh profile. │ leo --encrypt --sign --delete documents journal pass ssh │ │ # This will do the same. You can add these environment variables to │ # your shell rc & then just run ``leo documents journal ssh pass'' to │ # do the same. │ LEO_ENCRYPT=1 LEO_SIGN=1 LEO_DELETE=1 leo documents journal ssh pass │ │ # Backup this specific file. │ cd $HOME/documents; leo --encrypt --sign andinus.org.gpg └──── 4 Demo ══════ It's very easy to setup `leo', I made a demo video to show this. I already have Perl environment setup for this. *Note*: It's even more easy now, you don't have to create profiles anymore. • Leo 2020-08-31: <https://asciinema.org/a/F97hVfgXDcd9g5IlST1t27ps3> You can also download the [cast file] directly & play it with `asciinema'. [cast file] <https://andinus.nand.sh/static/leo/2020-08-31_leo-demo.cast> 5 History ═════════ This was Leo's initial description: Leo is a program to run my personal scripts. You might not find them useful, these were previously shell scripts that I rewrote in Perl. I had created a sync function initially & was going to expand it. Then I decided to remove those sync functions because it was too complex, I replaced then with simple `sh' scripts. I added a simple `archive' function later & decided to turn Leo into that function. So, it's not a meta-program anymore. I was thinking of creating something that does all the things for me but that'll be too complex. Later on the same day I removed dispatch table & switched to using simple hash of lists to store backup paths mapped to profiles. And also changed the word "archive" to "backup" everywhere. I added a simple INI based config file before 0.1.0 release.