mv a/b/* a/
rm -r a/b/
Note: Be careful while using the "rm" command as it can permanently delete files and directories. Make sure you have a backup of the files if needed.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-30 17:41:32 +0000
Seen: 12 times
Last updated: Jun 30 '23
What is the process for converting a complete directory using ffmpeg?
How can I remove all files and folders except for one particular subfolder?
What are the steps to automate the conversion of .doc files to .docx files?
How to set up Prometheus on Ubuntu?
How can GMP be built statically for MSVC (Windows)?
Bash cannot find the "pre-commit" command even though it is installed on macOS.