Hello all,
I have this basic script to backup files to a NAS:
Code:
#!/bin/bash
#home mappen zippen
cd /ananas/BACKUP/IMMSERV1
zip -r $(date +%m%d%Y)-ImpactAdmin.zip /folder1/
zip -r $(date +%m%d%Y)-ImpactStore.zip /folder2/
zip -r $(date +%m%d%Y)-homes.zip /home/
#verwijder alle bestanden ouder dan 3 dagen op de sienas
find /ananas/BACKUP/IMMSERV1 -type f -mtime +2 -exec rm {} \;
#sluiten
exit
but now I would like the zip command to skip files bigger than e.g. 10GB. Is this possible with piping? Thanks in advance!