samba, rsync --backup, and mangled instead of long filenames

Polytropon freebsd at edvax.de
Fri Jun 20 04:44:08 UTC 2014


On Thu, 19 Jun 2014 20:12:54 -0500, Noel wrote:
> Yes, the colons will break windows compatibility.

And make sure file names aren't too long, because long file names
are also not accepted in the "Windows" land of non-compatibility
and non-interoperability. ;-)



> The easy fix is don't use colons, as in date +%FT%H%M%S
> or maybe --suffix=`date +%FT%H%M%S`.dwg will work.

Or if you want a more "human readable" form containing non-restricted
characters: --suffix=`date "+%Y-%m-%d_%H.%M.%S"`.dwg could work.
This is a more "ISO date" like formatting.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list