GithubHelp home page GithubHelp logo

foldermerge's Introduction

FolderMerge

基本功能介绍

使用c++实现了合并文件夹。

使用方法:

两种使用方法。

方法一:输入一个输入文件夹的路径,输入一个输出文件夹的路径,FolderMerge会将第一个文件夹下的所有文件和文件夹拷贝到输出文件夹中。

方法二:输入两个输入文件夹的路径,输入一个输出文件夹的路径,FolderMerge会将两个输入文件夹下的所有文件和文件夹都拷贝到输出文件夹中。

命令:

FolderMerge.exe -i <folder1_path> [folder2_path] -o <merge_folder_path>

详细说明

如果输出文件夹不存在,FolderMerge常熟会创建输出文件夹。

如果输出文件夹中存在相同名称的文件,FolderMerge会比较两个文件是否相同会比较两个文件是否相同,如果文件内容相同,那么就会跳过这个文件,如果内容不同就会尝试给这个同名文件起一个新名字,如果起名成功,就按照新名字把文件拷贝过去,否则报错,会指出哪里错误了。

命令的参数给出的方式可以通过-i和-o指定,也可以直接给出,作为默认值。FolderMerge会首先解析有关-i和-o的参数,然后尝试使用没有指定的默认参数去补全缺省的参数。具体来说优先补全第一个输入文件夹和输出文件夹,如果输入出文件夹的路径已经指定了或者默认的参数数量足够补全两个输入文件夹的路径和输出文件夹的路径,那么才会补全第二个输入文件夹的路径。

foldermerge's People

Contributors

etherwave avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.