How do linux systems move all data under a folder to another folder?
Specific operation command format
mv Original path/* Target path
support wildcards
For example: Move all "folders" and "files" under the AAA folder to the xxxx.com folder, noting that there is no/at the end
mv /www/wwwroot/xxxx.com Name/* /www/wwwroot/xxxx.com
At the same time, rename also uses this command
Function description: Move or rename existing files or directories.
Grammar examples:
mv [-bfiuv][--help][--version][-S appended suffix][-V method][source file or directory][target file or directory]
© Website copyright and disclaimer
1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;
2. No one is allowed to copy it without the express written permission of [honmau Media];
3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;
4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;
5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice