about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add delete optionAndinus2020-08-271-1/+6
| | | | This will remove the archive after running gpg2.
* Add gpg2 function to Encrypt/Sign archivesAndinus2020-08-271-5/+21
|
* Add missing semicolonAndinus2020-08-271-1/+1
|
* Move tar_create, tar_list & ymd to the endAndinus2020-08-271-17/+17
| | | | These will mostly remain unchanged so I moved them to the end.
* Update README, add HistoryAndinus2020-08-271-32/+24
|
* Restructure code, rename tar_create to archiveAndinus2020-08-271-44/+41
| | | | | Moved @ARGV parsing & HelpMessage sub to the end. tar_create is now a simple wrapper around `/bin/tar'.
* Move archive dispatch table to mainAndinus2020-08-271-63/+47
| | | | | | I'm thinking of making leo as my archive program instead of a meta-program to hold all my scripts. It's simpler to keep them seperated, meta-program would've been complex.
* Add encrypt & sign option, remove archive_HelpMessage()Andinus2020-08-271-17/+21
| | | | | | | | | | | | | | | | | | | `archive_HelpMessage' was removed because variables from `archive' sub are not shared with it. On #perl@freenode: <andinus> i have a sub archive_Help inside of sub archive, when i try to use archive's var in archive_Help perl says "Variable "$archive_dir" will not stay shared at..." [02:55] [...] <Grinnz> generally, you pass variables into subs that you call [02:57] <Grinnz> defining a sub within another sub is evidence that you did it wrong [...] <andinus> is defining a sub within a sub not a good idea? <Grinnz> it does nothing useful [03:01] <Grinnz> and causes issues like the one you are having [...]
* Warn if $tar_file existsAndinus2020-08-271-1/+4
| | | | | "might overwrite" because I don't know what happens if tar fails, maybe it leaves the file untouched (?).
* Add pass to archive listAndinus2020-08-271-1/+7
| | | | | `pass' will archive `.password-store' directory which holds my passwords.
* Update README, add documentationAndinus2020-08-271-3/+71
|
* Add ssh to archive list, add date in tar file namesAndinus2020-08-271-3/+21
| | | | | | | | Date was added in `yyyy-mm-dd' format because it'll be easier to manage these archives later. `ssh' was added to archive list, it archives `$ENV{HOME}/.ssh' directory.
* Remove repetition, move checks to tar_create()Andinus2020-08-271-15/+30
| | | | | | This does make tar_create() complex & confusing but that's okay because otherwise there would've been lots of repetition in program as I added more definied archive paths.
* Remove unused files/modules, add archive subAndinus2020-08-253-2092/+68
| | | | `archive' will create tars of files, there is a pre-defined list.
* Remove unused code, Term::ANSIColorAndinus2020-08-251-23/+13
| | | | | I moved these to a shell scripts again because it's much simpler. Term::ANSIColor is not really required.
* Shorten option lengthAndinus2020-07-041-2/+2
| | | | `sync emacs irclogs' was too big, now it's `sync irclogs'.
* Sync irclogs, seperate sync optionsAndinus2020-07-032-29/+51
| | | | | By default it syncs only the config now & the user has to mention `irclogs' or `authinfo' to sync them.
* Add theo insultsAndinus2020-07-031-0/+1985
| | | | | | | | | | 9front is a continuation of Plan 9, and includes in its base system a program by the name of theo which prints out insults by Theo de Raadt when run. - https://jo.ie/doas-insults.html https://code.9front.org/hg/plan9front/raw-file/00bf6c34e13e/lib/theo
* Add Emacs.pm to sync authinfo & emacs configAndinus2020-07-031-0/+85
|
* Add syncemacs functionAndinus2020-07-031-0/+35
|
* Initial commitAndinus2020-07-023-0/+24