VMware Cloud Community
peter79
Enthusiast
Enthusiast

-ash: syntax error: "(" unexpected

Guys,

I'm trying to run the following command on a ESXi host

vmkfstools -D /vmfs/volumes/4c65471b-9240722d-2b35-002655d9c101/"Win\\ 2k8\\ Std\\ 64\\ bit\\ (CC6)"/Win 2k8 Std 64 bit (CC6).vmdk

but I keep getting the error -ash: syntax error: "(" unexpected.

Any ideas?

Reply
0 Kudos
1 Reply
nielse
Expert
Expert

U need to use a \ before ( and )

vmkfstools -D  /vmfs/volumes/4c65471b-9240722d-2b35-002655d9c101/"Win\\ 2k8\\ Std\\  64\\ bit\\ \(CC6\)"/Win 2k8 Std 64 bit \(CC6\).vmdk

I suggest using quotes around the whole part:

vmkfstools -D "/vmfs/volumes/4c65471b-9240722d-2b35-002655d9c101/Win 2k8 Std  64 bit (CC6)/Win 2k8 Std 64 bit (CC6).vmdk"

@nielsengelen - http://foonet.be - VCP4/5
Reply
0 Kudos