retention of overleaf backups
This commit is contained in:
1 parent
2deec7ea78
commit
9fd799813a
1 file changed
+4
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
BACKUP_DIR="$HOME/docker/compose/project/service/overleaf-toolkit/backup"
|
||||||
|
ls -t "$BACKUP_DIR" | tail -n +6 | xargs -I {} rm -rf "$BACKUP_DIR/{}"
|
||||||
|
|
||||||
Reference in new issue
Block a user