All Projects → hezedu → fuckwinfsdel

hezedu / fuckwinfsdel

Licence: MIT license
Solve Windows can't delete long paths file's bug.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fuckwinfsdel

id-mask
IDMask is a Java library for masking internal ids (e.g. from your DB) when they need to be published to hide their actual value and to prevent forging. It has support optional randomisation has a wide support for various Java types including long, UUID and BigInteger. This library bases its security on strong cryptographic primitives.
Stars: ✭ 39 (+62.5%)
Mutual labels:  long
SimpleStorage
💾 Simplify Android Storage Access Framework for file management across API levels.
Stars: ✭ 498 (+1975%)
Mutual labels:  file
lib-preferences
Lib-Preferences is a library for easy storing simple data to a Preferences.properties file in a Java(FX) & Maven desktop application.
Stars: ✭ 12 (-50%)
Mutual labels:  file
transfer-sh
Node.js CLI tool for easy file sharing using Transfer.sh
Stars: ✭ 24 (+0%)
Mutual labels:  file
file-icon-cli
Get the icon of a file or app as a PNG image (macOS)
Stars: ✭ 73 (+204.17%)
Mutual labels:  file
cemu-smmdb
No description or website provided.
Stars: ✭ 56 (+133.33%)
Mutual labels:  file
file-upload-with-preview
🖼 Simple file-upload utility that shows a preview of the uploaded image. Written in TypeScript. No dependencies. Works well with or without a framework.
Stars: ✭ 406 (+1591.67%)
Mutual labels:  file
RecordParser
Zero Allocation Writer/Reader Parser for .NET Core
Stars: ✭ 155 (+545.83%)
Mutual labels:  file
shredos.x86 64
Shredos Disk Eraser 64 bit for all Intel 64 bit processors as well as processors from AMD and other vendors which make compatible 64 bit chips. ShredOS - Secure disk erasure/wipe
Stars: ✭ 383 (+1495.83%)
Mutual labels:  delete
php-mime-detector
Detect a file's mime type using magic numbers.
Stars: ✭ 20 (-16.67%)
Mutual labels:  file
gosearch
a fast, real-time file searching program for linux
Stars: ✭ 68 (+183.33%)
Mutual labels:  file
file-vault
A Laravel package for encrypting and decrypting files of any size
Stars: ✭ 152 (+533.33%)
Mutual labels:  file
awsrm
A remove command for AWS resources
Stars: ✭ 74 (+208.33%)
Mutual labels:  delete
inplace
In-place file processing in Python
Stars: ✭ 21 (-12.5%)
Mutual labels:  file
cheap-watch
If it works, why use something else? // Mirror of https://git.chor.date/Conduitry/cheap-watch
Stars: ✭ 64 (+166.67%)
Mutual labels:  file
safe-svg
Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
Stars: ✭ 129 (+437.5%)
Mutual labels:  file
read-yaml
Very thin wrapper around js-yaml for directly reading in YAML files.
Stars: ✭ 25 (+4.17%)
Mutual labels:  file
watcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
Stars: ✭ 37 (+54.17%)
Mutual labels:  file
rust-magic
Rust high level bindings crate for the `libmagic` C library
Stars: ✭ 22 (-8.33%)
Mutual labels:  file
lrkFM
Awesome, (ad) free, open source file manager for Android
Stars: ✭ 44 (+83.33%)
Mutual labels:  file

fuck win fs del

No matter how deep the directory, It can be async's delete all. image

For Windows developers. Aslo Can be used Linux, Mac.

install

CLI(global):npm install fuckwinfsdel -g

or

API(local)npm install fuckwinfsdel

use(CLI)

fuckwinfsdel youdir

example

fuckwinfsdel node_modules Will delete current directory's node_modules folder.

fuckwinfsdel D:\expressgit\node_modules Will delete D:\expressgit\node_modules folder.

API

fuckwinfsdel(dir, callback)

fuckwinfsdel(dir, opts, callback)

example

var del = require('fuckwinfsdel');

del('./dist', function(err, result){
  if(err){
    return console.log(err);
  }
  console.log('end', result);
  /*
  result:
    errCount: error count 
    deep: files' deep
  */
});

opts:process,onFail.

full state example

//or 

del('./dist', {
    process : function(count1, count2){
      process.stdout.cursorTo(0);
      process.stdout.write('\u001b[93m' + count1 + '/' + count2 + '\u001b[39m');
    },
    onFail: function(method, err){
      console.error(method, err);
    }
  },
  function(err, result){

  });
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].