copy files with invalid names

Hi all,

I have to copy a directory to another location. While doing so with the cp command I got some errors due to invalid filenames of some files.

For example, some files have a colon in their names, which is throwing error. These files are not copied to the destination.

How to copy the entire directory irrespective of the invalid filenames of some file?

Karthik

It works well

Look at this

[/tmp/vino]$ ls
vin:  vin\  vino  v@no
[/tmp/vino]$ cd ..
[/tmp]$ cp -r vino/ temp/
[/tmp]$ cd temp
[/tmp/temp]$ ls
vin:  vin\  vino  v@no

Vino