Data Backup and Recovery Discussions

mv command in jsh (netapp.cmds.jsh)

virginnetapps

Hi All,

Just wondering if anyoe can provide the correct syntax of moving a directory having spaces in the name. We are using mv command in jsh in Netapp.

jsh> mv "one two" "one two_old"
mv failed

Any help would be much appreciated.

Thanks

2 REPLIES 2

Re: mv command in jsh (netapp.cmds.jsh)

scottgelb

This method only works with individual files, not directories.

Re: mv command in jsh (netapp.cmds.jsh)

scottgelb

A host rename should be immediate though...you can test a new directory with a lot of files and try it out on the host side.  From the netapp side, you could use ndmpcopy as well, but a rename on the host should be much quicker if the level of the directory is not changing, just the name.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public