Skip to content

Latest commit

 

History

History
60 lines (31 loc) · 1.22 KB

rmdir_statistics.md

File metadata and controls

60 lines (31 loc) · 1.22 KB
layout title tags
manual
rmdir - Statistics of command combinations using pipe
statistic

Before

The commands before rmdir: Pipe the result of the given command to rmdir.

Command percentage
find 42%
tac 28%
grep 14%
name 14%

After

The commands after rmdir: Pipe the result of rmdir to the given command.

Command Percentage

Related Scenarios

Below are the scenarios for all command combinations above.

The description in the table is referenced from and can be used to search the one-line-command or the scripts in the website of CommandLineFu.

Pipe find to rmdir

  • Recursively remove all empty directories
  • Recursively remove all empty directories
  • move contents of the current directory to the parent directory, then remove current directory.

Pipe tac to rmdir

  • Recursively remove all empty directories
  • Recursively remove all empty directories

Pipe grep to rmdir

  • Recursively remove all empty directories

Pipe name to rmdir

  • move contents of the current directory to the parent directory, then remove current directory.