Shell functions to move files while changing directories