xxxxxxxxxx
module dubcache;
// Reason:
// each cache take 50 - 200 MB of disk space
// Goal:
// scan dirs and remove caches
//
// ./
// a/
// b/
// .dub/ <- target
// c/
import std;
void main( string[] args )
{
dirEntries( args[0].dirName, SpanMode.shallow )
.filter!( a => a.isDir )
.map!( a => buildPath( a.name, ".dub" ) )
.filter!( a => a.exists )
.each!(
( a )
{
writeln( a );
// rmdirRecurse( a );
}
);
}