Some validations before mv and ln