Linux Command Encyclopedia file management: MV

Source: Internet
Author: User
Keywords Linux file management command encyclopedia
Tags aliyun backup command encyclopedia directory file file management help html

Feature Description: Move or rename an existing file or directory.

Grammar: mv&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-BFIUV] [--help] [--version] [-s < additional word] [-v < Method] [source file or directory] [Target file or directory]

Supplemental Note: MV can move files or directories, or change the name of a file or directory.

Parameters:
-B or--backup overwrite the file before overwriting.
-F or--force if the destination file or directory duplicates an existing file or directory, overwrite the existing file or directory directly.
Ask the user first before overwriting-I or--interactive.
-s< additional Word tail >
--suffix=< additional word tail > is used with the-b parameter to specify the end of the word to be appended to the backup file.
-U or--update when you move or change a file name, the destination file is not overwritten if the destination file already exists and its file date is newer than the source file.
The-V or--verbose displays detailed information when executed.
-v=< method >
Use the--version-control=< method > with the-b parameter to specify the method of the backup.
--help display Help.
--version Displays version information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.