dir shift and rename