Git Product home page Git Product logo

rmedir's Introduction

RmEDir

RmEDir is a small command line utility which allows you to recursively delete all empty subdirectories from the specified directory.

By default, the program also deletes empty directories with the Read-only, System and Hidden attributes (on Windows system), but you can disable it with the --keep-special-dirs switch.

The program has no built-in file deletion function, so you can be sure that no file will be deleted by accident.

RmEDir supports network directories and paths exceeding the MAX_PATH (260) character limit.

Download

Source: https://github.com/jackdp/RmEDir

Binary (Windows 32-bit, Windows 64-bit, Linux 32-bit, Linux 64-bit): http://www.pazera-software.com/products/rmedir/

Usage

Usage: rmedir [-r=X] [-d] [-k] [-h] [-V] [--home] Directory

Mandatory arguments to long options are mandatory for short options too.
Options are case-sensitive. Options in square brackets are optional.
The last parameter must be the name of an existing directory.

Available options:

-r, --recurse=X
Recursively removes empty directories up to level X in the directory structure (default X=500).

-d, --remove-main-dir
It also removes the input directory given on the command line (if empty).

-k, --keep-special-dirs
By default, the program deletes empty directories with the Read-only, Hidden and System attributes set. If you want to keep such directories, use this option. Available only in the Windows version.

-h, --help
Show help.

-V, --version
Show application version.

--home
Opens program homepage in the default browser.

Compilation

To compile, you need:

How to build:

  1. Open src\rmedir.ctpr file with CodeTyphon or src\rmedir.lpi with Lazarus.
  2. Set build mode for your destination system.
    Select menu Project -> Project Options... A new window will appear. In the tree view (on the left), select Compiler Options. At the top of this window you can select the build mode from the dropdown list. Choose: Release Win32, Release Win64, Release Lin32 or Release Lin64.
  3. Build project (menu Run->Build).

Releases

2018.01.19 - Version 1.0

rmedir's People

Contributors

jackdp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.