On Mon, 14 Nov 2011 12:32:40 +0100
Stephan Beal <[email protected]> wrote:

[...]
> Fossil doesn't track directories. If you want to get rid of empty
> ones, one way to do this in Unix is:
> 
> find . -type d | xargs rmdir
> 
> Notes:
> 
> a) rmdir will refuse to delete non-empty dirs, so the above will
> likely spit out harmless warnings for non-emtpy dirs.
> b) spaces and whatnot in the names will break the above (how
> best/easiest to fix it depends partly on whether you're using GNU
> find or not).
With GNU find it should be possible to just do
find . -type d -empty -delete
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to