Thank you for your reply. My MongoDB Server Version installed is 4.4.6 , Mongoshell Version installed is V4.4.6 and Compass Version installed is 1.28.1. Since MongoDB Server and Mongoshell are both having same version , there is no question of mismatch. My MongoDB Tool Version is 100. So, I need to install the latest version of MongoDB Tool.
Now, let me tell you the specific details I am encountering with my old version of MongoDB/ Mongo tools though I am not very sure whether there is any other specific reason behind it.
While I am exporting in csv format using - - fields option and --mongoexport to connect mongod running on local host : 27017, I am getting the output.
But , while I am using a file to specify a fields to export in csv format using – mongoexport to connect mongod runing on local host: 27017, I getting no output.
I am getting the error :" Failed: open fields.txt. The system can not find the file specified."
I shall be pleased if you let me know why it is so.