Source:
Code:
find /home -type d -regex "/home/teacher" -prune -o \( -iname "*.jpg" -o -iname "*.jpeg" \) -print | xargs tar cjf /mnt/floppy/backup.tbz
Dest:
Code:
cd / && tar xjpf /mnt/floppy/backup.tbz
I'm not sure the floppy will be big enough every time, though.
Besides, with pictures, it might be, that bzipping the tar actually makes it bigger instead of smaller. In that case, remove the "j" from each tar command, and replace the ".tbz" extention with a simple ".tar".
Yves.