Forgive me if this sounds simple. I am working on a Windows 7 machine and have been playing with yoeman developed directories. Now that I feel comfortable with that portion of nodejs, I would like to delete all those "playground" directories, since the machine that I am working on is a corporate owned asset. But when I use the command line "rmdir XXXXXXX /s", it only goes so far into that project before windows tells me that the filename is too long. I assume this is because of the many many duplicated modules that a (yoeman) project creates and also the way that Windows deletes files and folders. So, does anyone have another route that I can take to remove these 'playground' directories without doing it by hand??
npm install -g rimrafrimraf XXXXXXXWindows' old APIs can't deal with new long names. Guess which tools still use the old APIs!But rimraf has your back -- it's a node module that uses the new APIs that node uses and can work without restrictions.
Not really a node or yeoman problem:
Thank you Adrian. I had forgot about selecting the folder and doing a "Shift+Del" action. Worked like a charm. You just have to make sure that the folder you have selected is the only one that you want to delete. Not something to do when your half asleep.
댓글 없음:
댓글 쓰기