Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

How to delete a directory without the prompt annoyance?

$
0
0

I am using vifs to delete a whole directory (contained files). It works perfectly except it gives me prompt to force me to type "y" to delete it.

Like this,

vifs --server ip --username root --password password --rm '[datastore1] VM33'
Remove 'VM33'? (y/n) : y

 

Are there any ways to ignore this prompt to delete the directory directly, without typing the "y", or typing the "y" automatically?

Thank you.


Viewing all articles
Browse latest Browse all 2039


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>