A cronjob copies files from a remote server (probably
rsync to a local encrypted partition (probably
eCryptFS on top of
Now rsync throws errors for filenames that are longer than 143, which is expected due to the way filenames are encrypted on the target.
Since I can't change those parameters, I can't influence the files to be backed-up and there's only a handful of those that fail, I want to ignore / exclude the files in question.
I thought about running a
find for files with names longer than 143 characters, writing to a temporary file and then using that as the
But is there a more elegant and reliable way to do this I'm missing? I don't want the cronjob to skip more files than strictly necessary, but I also need it to run without errors to not trigger a monitoring alert.