Attck of teh AzN Cow flu! (cowbert) wrote in freebsd_users,
Attck of teh AzN Cow flu!
cowbert
freebsd_users

escaping colons in filenames

I have this weird problem where no matter how I try to escape the colon in a file name, I cannot get rsync or scp to copy it, because it parses the colon and thinks that the string preceding the colon in the filename is a hostname (and complains that it cannot to remote to remote transfers, which is, uh, sort of common sense :)

So far, I've been working around this by sticking the files that have colons in them in a folder and them using -r to copy the contents of that folder, but I feel so ashamed having to resort to that (worse than the unnecessary use of cat(1)).
  • Post a new comment

    Error

    default userpic
  • 1 comment