项目作者: DeonduPreez

项目描述 :
Folder Structure Delete. Deletes files in a specified folder structure
高级语言: C#
项目地址: git://github.com/DeonduPreez/fsdel.git
创建时间: 2021-04-01T15:01:13Z
项目社区:https://github.com/DeonduPreez/fsdel

开源协议:The Unlicense

下载


fsdel - Folder Structure Delete

Deletes files and folders in the exact same structure as specified.

This is useful when you extracted a zip file into the wrong folder and want to remove those files without removing them manually

Usage

  1. fsdel arg1 arg2
  2. arg1 - FolderStructure
  3. arg2 - FolderToDeleteFrom
  4. e.g.
  5. fsdel C:\FsFolder C:\MergedFolder
  1. Removes all files that are specified in the folder structure from arg1
  2. Recursively runs for every subdirectory specified in the folder structure from arg1
  3. Removes the folder if it is empty and is specified in the folder structure from arg1

This tool was created because I accidentally extracted a zip file into the wrong folder. It merged into all subdirectories and I’m too lazy to delete every file manually

I am open to any pull requests to improve this tool