Room of a pleinolijf

Ask yourself this: how do I want to be remembered ?

Deleting Files and Folders With Paths/Names That Are Too Long for Windows

1 Comment

As a follow-up on the previous post, I found a better alternative to do this if you already use node.js. There’s a util available on GitHub, called rimraf, that seems to exist purely to help you and me out with this irritating problem (on a Windows machine).

And it’s easy-peasy. Simply open your favourite node.js prompt (I like to set up everything in the excellent Cmder, btw), and install rimraf like so:

npm install -g rimraf

Then, to actually see the ‘magic’ happen, execute:

rimraf <directory_to_delete>

Could it be any easier ?

Advertisements

Author: pleinolijf

father | volleyballer | software engineer

One thought on “Deleting Files and Folders With Paths/Names That Are Too Long for Windows

  1. I read this post completely about the difference of latest and earlier technologies, it’snremarkable article. Come on http://tropaadet.dk/edythemills62093081830

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s