It seems, that I misled you by the formulation of my previous reply. While the context
might be different for each file, I need to change it only for the directories…
… because I am in fact using “cp -a” for everything else.
Anyway, in the meantime I re-wrote the program in Python. The memory usage is now
in a “decent” area (less then 1/2 of the Perl version) and I actually managed to run
almost a full backup. I got stuck at ca. 40 GB, because one of the files has an “a Umlaut”
(the German a with 2 dots on top) in it’s name. So apart from that small detail, I am now
happy.