/Bin/mv: The parameter list is too long.

Source: Internet
Author: User

/Bin/mv: The parameter list is too long. Preface I realized a set of online database Incremental backup solutions. I only backed up the incremental database db every day (ps: there are about more than 0.3 million databases online ). However, one day, the user activity soared, and more than 0.2 million of the database needs to be backed up in a day. Of course, I have found out the reason (the business relationship is not described in detail ), but the problem is that I encountered/bin/mv in the mv more than 0.2 million SQL file: the parameter list is too long. Solution: replace the original mv operation with the find command [html] find source file path-type f-name '*. jpg '-exec mv {} target path \; this post records some pitfalls encountered by your script code. If you have any problems, you can change them.

Related Article

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.