Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add gzip support for compressing archives v0.3.2 | Andinus | 2020-11-11 | 3 | -12/+39 |
| | | | | Archives can now be compressed by gzip(1). | ||||
* | Warn when signify & gnupg is used together v0.3.1 | Andinus | 2020-11-08 | 1 | -9/+14 |
| | | | | | Warn when signify & gnupg is used together & added config option to disable the warning if the user knows what they're doing. | ||||
* | Fix syntax error that was messing with $min v0.3.0 | Andinus | 2020-10-30 | 1 | -1/+1 |
| | |||||
* | Change backup format, group by profile instead of date | Andinus | 2020-10-29 | 1 | -8/+14 |
| | | | | | | | | | | | | | | Backups are now grouped by profile instead of date. This means less noise when running daily backup of a specific profile, earlier it would've polluted the backups directory, now it'll add the backups to the profile specific folder. Also, this includes more information & users can run leo multiple times a day. Earlier running more than once a day would've over-written the previous backup, from now on it'll create a new file because we include time in the filename. Time will be in GMT. | ||||
* | Update help message to add signify & remove delete option | Andinus | 2020-10-15 | 1 | -3/+3 |
| | |||||
* | Add new option in config v0.2.1 | Andinus | 2020-10-15 | 2 | -1/+4 |
| | |||||
* | Add option to specify gpg recipients | Andinus | 2020-10-15 | 1 | -2/+10 |
| | |||||
* | Fix a typo in variable name | Andinus | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | Remove delete option from examples in README | Andinus | 2020-10-15 | 1 | -5/+8 |
| | |||||
* | Fix unlinking files after running gpg | Andinus | 2020-10-15 | 1 | -2/+1 |
| | |||||
* | Update warning on using gpg with signify | Andinus | 2020-10-15 | 1 | -2/+2 |
| | |||||
* | Document signify, update example config v0.2.0 | Andinus | 2020-10-15 | 2 | -11/+13 |
| | |||||
* | Remove unrequired options, don't use prototypes | Andinus | 2020-10-15 | 1 | -5/+8 |
| | |||||
* | Add support for signify(1) | Andinus | 2020-10-15 | 1 | -8/+41 |
| | |||||
* | Add fallback for $gpg_fingerprint & $gpg_bin | Andinus | 2020-10-14 | 2 | -7/+4 |
| | |||||
* | Add additional information in README | Andinus | 2020-10-14 | 2 | -2/+4 |
| | |||||
* | Fix logical error, override local values correctly v0.1.1 | Andinus | 2020-10-12 | 1 | -7/+11 |
| | |||||
* | Update Documentation with latest changes | Andinus | 2020-10-12 | 1 | -10/+6 |
| | |||||
* | Add new config file | Andinus | 2020-10-12 | 2 | -4/+17 |
| | |||||
* | Enforce local values for encyrpt & sign | Andinus | 2020-10-12 | 1 | -14/+22 |
| | |||||
* | Add option to exclude paths | Andinus | 2020-10-12 | 1 | -14/+32 |
| | |||||
* | Remove obsolete code, add extra config options | Andinus | 2020-10-11 | 2 | -14/+21 |
| | |||||
* | Update README, add install instructions v0.1.0 | Andinus | 2020-10-08 | 1 | -58/+54 |
| | |||||
* | Switch config, simplify script, make paths relative to '/' | Andinus | 2020-10-08 | 1 | -32/+50 |
| | |||||
* | Change config file format to INI style | Andinus | 2020-10-08 | 2 | -36/+15 |
| | | | | This is better than previous config & simple too. | ||||
* | Add cpanfile | Andinus | 2020-10-08 | 1 | -0/+4 |
| | |||||
* | Get $backup_dir from config, format $mday with 2 leading zeros | Andinus | 2020-10-08 | 2 | -6/+10 |
| | | | | | This will not work with previous configs. But that's fine because I'm the only one using this. | ||||
* | Change default backup directory | Andinus | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Document new profile behaviour | Andinus | 2020-09-02 | 1 | -5/+16 |
| | |||||
* | Fix logical error | Andinus | 2020-09-02 | 1 | -2/+4 |
| | | | | | There are still issues with this, for example the user can't pass ``documents/text.txt'' or anything in sub-directory. | ||||
* | Create profiles on the fly | Andinus | 2020-09-02 | 1 | -1/+6 |
| | |||||
* | Add demo to README | Andinus | 2020-08-31 | 1 | -26/+37 |
| | |||||
* | Document new configuration in README | Andinus | 2020-08-31 | 1 | -0/+22 |
| | |||||
* | Move configuration to a config file | Andinus | 2020-08-31 | 2 | -22/+44 |
| | | | | | I'll switch to some other config format later, this format is not safe at all! | ||||
* | Fix options checking | Andinus | 2020-08-31 | 1 | -4/+6 |
| | | | | options passed via arguments were being ignored. | ||||
* | Add fortunes directory to profile | Andinus | 2020-08-28 | 1 | -2/+3 |
| | |||||
* | Change mentions of "archive" to "backup" | Andinus | 2020-08-27 | 2 | -21/+25 |
| | | | | | | | | This is a backup program now. By archive I think of something else, like I archive web pages to save them offline. And by backup I think of storing files safely somewhere so that we can restore it later. Doesn't matter. | ||||
* | Remove date from archive files, add date to archive directory | Andinus | 2020-08-27 | 1 | -2/+2 |
| | | | | | This format is better than keeping lots of files in a single directory. | ||||
* | Add help option, update documentation to explain new profiles | Andinus | 2020-08-27 | 2 | -46/+15 |
| | |||||
* | Fix help message, switch to %profile from dispatch tables | Andinus | 2020-08-27 | 1 | -61/+46 |
| | | | | | | | Now we can use aliases again, no dispatch table required, help is generated automatically & configuration looks much simpler. We can still have special profiles like I've created for journal directly when calling archive(). | ||||
* | Make all paths relative to $HOME, add emacs & config to dispatch | Andinus | 2020-08-27 | 1 | -30/+20 |
| | | | | | | | I'm trying to make it easier to print help message, I don't want to print it manually. After this I'll just turn the dispatch table into just table which contains all the paths to be archived & then I'll be able to print help nicely. | ||||
* | Remove aliases, move to a different function | Andinus | 2020-08-27 | 1 | -6/+20 |
| | | | | | | Problem with aliases was that profile name would still be say `.ssh' for ssh which means the archive created will be `.ssh-...tar' which is not what I wanted. | ||||
* | Document dispatch table generation | Andinus | 2020-08-27 | 1 | -15/+51 |
| | |||||
* | Add several paths to dispatch table, simplify table generation | Andinus | 2020-08-27 | 1 | -15/+17 |
| | | | | | | | | | | | | | | | | | | I added a lot of things to profile, there was a lot of repetition in dispatch table so I moved it to a function. Aliases were used for inconvenient paths but I could've done this too: my %directories = ( ssh => "$ENV{HOME}/.ssh", pass => "$ENV{HOME}/.password-store", ); foreach my $dir (sort keys %directories) { $dispatch{$dir} = sub { archive("$archive_dir/${dir}_${ymd}.tar", "-C", "$directories{$dir}", "."); }; } | ||||
* | Explain encrypt exception that was added for journal | Andinus | 2020-08-27 | 1 | -0/+4 |
| | |||||
* | Document environment variables, add example section | Andinus | 2020-08-27 | 1 | -2/+28 |
| | |||||
* | Add environment variables for some options | Andinus | 2020-08-27 | 1 | -0/+4 |
| | |||||
* | Print Encrypted/Signed status , don't encrypt journal | Andinus | 2020-08-27 | 1 | -1/+7 |
| | | | | My journal is already encrypted so don't encrypt it again. | ||||
* | Parse @ARGV to catch all arguments | Andinus | 2020-08-27 | 1 | -7/+10 |
| | | | | | Now the user can run ``leo pass journal'' & both will be archived, previously `journal' would've been ignored. | ||||
* | Push receipient only when encrypt option is passed | Andinus | 2020-08-27 | 1 | -2/+3 |
| | | | | | | | Fixes this error: gpg: WARNING: recipients (-r) given without using public key encryption |