#!/bin/bashcd /backupssudo tar cvpzf backup_`date +%Y.%m.%d_%H_%M`.tar.gz /find . -mtime +10 -exec rm {} \;как-то так (c)
#!/bin/bashcd /backupssudo tar cvpzf backup_`date +%Y.%m.%d_%H_%M`.tar.gz /find . -mtime +10 -exec rm {} \;