Data Backup and Recovery

mv command in jsh (netapp.cmds.jsh)

virginnetapps
3,609 Views

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

scottgelb
3,609 Views

This method only works with individual files, not directories.

scottgelb
3,609 Views

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.

Public