Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Filename too long; cannot delete project folder #8

Open
peterennis opened this issue Feb 20, 2016 · 10 comments
Open

Filename too long; cannot delete project folder #8

peterennis opened this issue Feb 20, 2016 · 10 comments

Comments

@peterennis
Copy link

C:\ae\HEALTH1.BIZ\src\MyHealth.Web\NODE_M1\GULP-S2\NODE_M1\NODE-S1\NODE_M1\CROSS-1\NODE_M1\SPAWN-1\NODE_M1\TRY-TH1\NODE_M1\THREAD1\NODE_M1\NODE-P1\NODE_M1\npmlog\NODE_M1\gauge\NODE_M1\lodash.pad\NODE_M1\LODASH1._CR\NODE_M~1\lodash.repeat\index.js

Windows 10. File structure is too deep. I have to delete remnants manually.

@peterennis
Copy link
Author

Looks like I will have to research a solution to delete the files or manually shorten all folder names. Not user friendly :(

capture4

@peterennis
Copy link
Author

Rename as follows and the folder can be deleted:
C:\ae\HealthClinic.biz\src\z\z\z\z\z\z\z\z\z\z\z\z\z\z\z\z\npmlog\z\z\z\lodash.pad\z\z\z\lodash.repeat\index.js

@srivatsamarichi
Copy link

@ Peterennis-Instead of renaming, use the below link. It saves lot of time and deletes wiithin few seconds. It makes use of something called as Robocopy, i faced the same thing and used. It worked awesome for me.

http://clintboessen.blogspot.in/2014/05/how-to-delete-files-which-exceed-255.html

Thanks,
Srivatsa

@peterennis
Copy link
Author

@srivatsamarichi - Thanks for that. I have 7-zip file manager and like that shift-del solution. Next best is robocopy /PURGE and I am wary of robocopy /MIR having previously inadvertently deleted a bunch of files when the destination did not exist!

@srivatsamarichi
Copy link

Hope it worked fine for you.

Sent from Yahoo Mail on Android

On Sat, 20 Feb, 2016 at 10:37 am, [email protected] wrote:
@srivatsamarichi - Thanks for that. I have 7-zip file manager and like that shift-del solution. Next best is robocopy /PURGE and I am wary of robocopy /MIR having previously inadvertently deleted a bunch of files when the destination did not exist!


Reply to this email directly or view it on GitHub.

@kamila1011
Copy link

I am getting this same issue and its very difficult to solve this problem without any third party app, i guess the best thing to do is to use a third party app like Long Path Tool. Just download it and use it to solve this issue. I hope this would help.

@leonmeijer
Copy link

leonmeijer commented Jun 13, 2016

Hopefully this won't be needed anymore with the upcoming Windows 10 anniversery edition. The next major release will have long path support

@ibonilm
Copy link
Contributor

ibonilm commented Jun 13, 2016

The issue is also solved if you update your local environment to use npm 3

@srivatsamarichi
Copy link

srivatsamarichi commented Jun 13, 2016

I believe had shared the link in order to delete the folder structure in the same post. That works fine and will completely clean the folders and the corresponding files.

Thanks,
Srivatsa

Sent from Yahoo Mail on Android

On Mon, 13 Jun, 2016 at 2:59 pm, Ibon [email protected] wrote:
The issue is also solved if you update your local environment to use npm 3


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@rroman81
Copy link

npm install -g rimraf
rimraf ./<path to the folder strucutre>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants