返回命令列表

Linux command

Find and delete empty directories

安全

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Find and delete empty directories

find . -type d -empty -delete

说明

Useful Linux one-liner

FAQ

What is the find command used for?

Useful Linux one-liner

How do I run a basic find example?

Run `find . -type d -empty -delete` in a terminal, then adjust file names, paths, flags, or remote targets for your system.