<commit_before># redis-backup-maintenance
Redis backup and maintenance script

## INSTALL
- install at /opt/bin:
  test ! -d /opt/bin && mkdir -p /opt/bin && cd /opt/bin && wget https://raw.githubusercontent.com/seikath/redis-backup-maintenance/master/redis.backup.maintenance.sh && chmod +x redis.backup.maintenance.sh

## USAGE
- example crontab
 
 */15 * * * * /opt/bin/redis.backup.maintenance.sh >> /var/log/redis.backup.log 2>&1
- put a line at the /etc/rc.local to unlock the script 

  test -d /var/run/redis.backup.lock.dir && rm -rf /var/run/redis.backup.lock.dir
<commit_msg>fixing INSTALL line to README.md<commit_after># redis-backup-maintenance
Redis backup and maintenance script

## INSTALL
- install at /opt/bin:
```test ! -d /opt/bin && mkdir -p /opt/bin && cd /opt/bin && wget https://raw.githubusercontent.com/seikath/redis-backup-maintenance/master/redis.backup.maintenance.sh && chmod +x redis.backup.maintenance.sh```

## USAGE
- example crontab
 
```*/15 * * * * /opt/bin/redis.backup.maintenance.sh >> /var/log/redis.backup.log 2>&1```
- put a line at the /etc/rc.local to unlock the script 

```test -d /var/run/redis.backup.lock.dir && rm -rf /var/run/redis.backup.lock.dir```

{'fraction_non_alphanumeric': 0.1669435215946844, 'fraction_numerical': 0.006644518272425249, 'mean_word_length': 3.479553903345725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1131154', 'n_tokens_mistral': 459, 'n_tokens_neox': 442, 'n_words': 98}