Question

I created a C++ hello world project in linux and I could successfully build the project and I now noticed that after cleaning the project , the .o files are removed but the folder Debug/Release and also the sub-directories folder is not deleted. However in windows the folders also get deleted.
I then found out that in linux the command rm -rf is used and in windows del /F /S /Q is used.
But -r does mean recursively and -f meaning forcefully? So why isn't the folder deleted? For it to be deleted what should have been the clean command in linux??

Was it helpful?

Solution

This seems to be the desired behaviour as pointed out in the comments!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top