Ahhh the --exclude option is now position-sensitive (see bug #831007).
Now,tar -cf /mnt/$partition/camera-beelden/$map`date '+%d%b%Hh%M'`.tar --exclude 'readme.txt' --exclude '*.p*' -C / mnt/hda5/camera-beelden/$map --remove-files 2>/dev/null
works. Thanks! --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus