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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.