script for managing hardlinks on lgb