prune sys directory