Commit Graph

11 Commits

Author SHA1 Message Date
utzer e02616058c
sed changed to have it correct for grep
Should be like this:
```
grep 'pattern1\|pattern2' filename
```
See: 
https://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/
2020-12-29 20:30:26 +01:00
ingoj 98c398502a Update cleanup_friendica.sh 2020-12-29 12:01:46 +01:00
ingoj ee677f67a9 Update cleanup_friendica.sh
Fixed grep regexp:
grep -e'[6-9]\ months.*' -e '1[012]\ months.*' -e 'year' ->> grep -E '[6-9].months.*|1[012].months.*|[1-9].year.*'
2020-07-20 15:11:56 +02:00
ingoj ce5b75635c Update cleanup_friendica.sh
changed bin/console user delete <user> -q to -y option as described in https://github.com/friendica/friendica/issues/8846
2020-07-11 21:39:54 +02:00
ingoj 04b2a140c6 Update cleanup_friendica.sh
Some changes:
- moved mail texts to subroutines
- fixed issue that older lastlogin dates were ignored. Before only 7-9 months old lastlogins were considered for deletion, now lastlogins with >7 months and "year(s) ago" are considered as well
- removed BCC for admin, added comment how to enable BCC mail again
2020-06-28 17:15:30 +02:00
ingoj 7aa79992f2 Update cleanup_friendica.sh
removed bashisms and actually tested the process with protecteduser
This script works so far (for me)
2020-04-09 21:48:20 +02:00
ingoj 1d0ce4b9e7 Update cleanup_friendica.sh
removed bashisms and actually tested the process with protecteduser
This script works so far (for me)
2020-04-09 21:34:46 +02:00
ingoj 89c0c3a575 add protectedusers support
basically protectedusers shouldn't be deleted... currently untested
2020-04-03 00:11:24 +02:00
ingoj 8df2172aa2 Update cleanup_friendica.sh 2020-04-02 21:50:23 +02:00
ingoj 220520c2a1 Update cleanup_friendica.sh
fixed typo
2020-04-01 23:06:09 +02:00
ingoj 43ff911ce7 Create cleanup_friendica.sh
inital commit
2020-04-01 21:38:44 +02:00