#!/bin/bash

BACKUPS=$(ls -al /home/*.gz |awk '{print $9}')

for i in $BACKUPS
do
echo "Restoring $i now...."
/scripts/restorepkg $i
done

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.