#!/bin/bash
OLD=$(pwd)
PATH1=$(pwd)
cd "$PATH1"
find ./tmp/*.log -type f -print0 | tar -czvf ./tmp/backups/backup-$(date +%Y%m%d).tar.gz --null -T -
cd "$OLD"