vaultwarden_backup icon indicating copy to clipboard operation
vaultwarden_backup copied to clipboard

Refactor delete

Open jmqm opened this issue 4 years ago • 1 comments

In PR #17, it now checks if there are files to delete. I used a variable to hold the contents of the find. Wanting someone to refactor the script a bit so that when deleting files it also uses the variable.

I don't know Linux or sh, I've just been Googling stuff. I tried some ways of doing it but the limited knowledge I've gained isn't enough to solve the problem.

jmqm avatar Jul 17 '21 19:07 jmqm

https://github.com/jmqm/vaultwarden_backup/blob/479d78b9e305edb1f4e086081bd6032d3c1f2f0b/script.sh#L32-L33

jmqm avatar Jan 03 '22 05:01 jmqm