Commit Graph

26 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 9f86803b02
Update README.md 2020-12-29 12:08:48 +01:00
ingoj 33cdf5be9c
Update README.md 2020-12-29 12:08:28 +01:00
ingoj 04f8bac7f2
Update README.md 2020-12-29 12:07:48 +01:00
ingoj 0f63eafb42 Merge branch 'master' of https://github.com/ingoj/cleanup-friendica 2020-12-29 12:03:31 +01:00
ingoj 149a0b444d v0.4 "dry-run" release
Implemented "dry-run" option
2020-12-29 12:03:02 +01:00
ingoj 98c398502a Update cleanup_friendica.sh 2020-12-29 12:01:46 +01:00
ingoj 97185a8a75
Update README.md
added info about language
2020-12-20 18:31:07 +01:00
ingoj a7648b36b7
Delete cleanup_friendica
duplicate file
2020-12-20 16:40:53 +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 4ddb8a72c3 Merge branch 'master' of https://github.com/ingoj/cleanup-friendica 2020-04-03 00:11:36 +02:00
ingoj 89c0c3a575 add protectedusers support
basically protectedusers shouldn't be deleted... currently untested
2020-04-03 00:11:24 +02:00
ingoj 36c7c5a26c
add protectedusers 2020-04-03 00:06:52 +02:00
ingoj 8df2172aa2 Update cleanup_friendica.sh 2020-04-02 21:50:23 +02:00
ingoj 51c7fbc1b8 Create cleanup_friendica.conf.sample 2020-04-02 21:49:48 +02:00
ingoj 2826abf967
Update README.md 2020-04-01 23:42:41 +02:00
ingoj d7cbaa613c
Update README.md 2020-04-01 23:42:05 +02:00
ingoj 32c2032acd
Update README.md 2020-04-01 23:40:23 +02:00
ingoj 220520c2a1 Update cleanup_friendica.sh
fixed typo
2020-04-01 23:06:09 +02:00
ingoj a50b8f5862
Update README.md 2020-04-01 22:06:25 +02:00
ingoj 43ff911ce7 Create cleanup_friendica.sh
inital commit
2020-04-01 21:38:44 +02:00
ingoj 7f3fd3a5f5 Initial commit 2020-04-01 21:29:26 +02:00