Posted By

bitfed on 09/20/12


Tagged

move mv


Versions (?)

Move dir contents to parent dir


 / Published in: Bash
 

URL: http://superuser.com/questions/151504/move-folder-contents-into-parent-folder-linux-commandline

This will move all files and directories within a directory to another location.

  1. cd /path/to/destination
  2. mv child-source/* .
  3. rmdir child-source

Report this snippet  

You need to login to post a comment.