mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 03:07:48 +00:00
6 lines
221 B
Bash
6 lines
221 B
Bash
|
#!/usr/bin/env bash
|
||
|
cd /home/brunofontes/ttt/
|
||
|
sudo -u git GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea dump -c /etc/gitea/app.ini
|
||
|
chown brunofontes:brunofontes *.zip
|
||
|
find ./ -type f -name "*.zip" -mtime +2 -delete
|