Link to home
Start Free TrialLog in
Avatar of SAM2009
SAM2009Flag for Canada

asked on

Can't copy from Linux to Windows NFS due to special caracter.

Hi,

I have mount a Windows 2016 NFS shared and there is a problem with the copy from Linux client (RedHat).

Example:

From Linux we need to copy this folder
Department_Copy_backupJan1000017/Sending/groupsITdep01/2016-06-25T01:50:55-0700/

I think Windows doesn't like special character. How can I fix that?

Thanks
Avatar of noci
noci

When on Windows use \ not /.
When in linux use / not \.

If in doubt on linux you can enclose any name in ' on a shell commandline to pass the characters on to a program.
(Special character on a commandline are <, >, (, ), { , }
Simple solutions...

1) Rename the directory.

2) Create a symlink to the directory, then do your copy using the symlink.
ASKER CERTIFIED SOLUTION
Avatar of serialband
serialband
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SAM2009

ASKER

Thanks