I have a fairly large directory that I need to sync to an external hard drive for both backup and portability reasons.
I try to run the following rsync command in order to copy this folder to my external hard drive:
rsync -avz /work /media/extern_drive --max-size '4G'
Which seems to work fine, EXCEPT that it does not copy any file with a
: in it.
This post gives a solution for a single file: rsync: colon in file names, but the problem is that I have so many of these files scattered in different directories that I cannot do it manually.
Is there any way to recursively rsync any files with a colon in the filename?