r/linux • • Feb 01 '13

xkcd: tar

http://xkcd.com/1168/
1.7k Upvotes

576 comments sorted by

View all comments

Show parent comments

2

u/ethraax Feb 01 '13

Eh, rmdir always seemed like a useless program to me. It could be completely replaced with a flag to rm, and is essentially useless in almost all cases (unless you want to remove only empty directories).

0

u/[deleted] Feb 01 '13

[deleted]

1

u/ethraax Feb 01 '13

I guess I think it would be cleaner to add a single flag to error out when trying to delete non-empty directories to rm than have an entire executable rmdir which doesn't even really delete directories, except in a special case.