Move dir contents to parent dir


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. cd /path/to/destination
  2. mv child-source/* .
  3. rmdir child-source

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.