mkHomeBackup.sh

#!/bin/bash

for i in $(ls /home/); do
if [ -d /home/${i} ]; then
echo ${i}
tar -cjf /home/${i}.$(date -I).tar.bz2 /home/${i}
fi
done