Giter Club home page Giter Club logo

shellcopy's Introduction

ShellCopy

批量将已知路径的文件复制到指定路径下

这是Linux下的一个shell脚本

使用方式:./ShellCopy midi_file aosp

参数说明:

midi_file :一个文件,里面可以是一些你修改过的 文件的绝对路径。只是一个记录

aosp : 必须是midi_file中记录的所有路径 共同拥有的一个文件夹的名字

拿Android源码来举例:

我在/home下新建一个名为 Android_Q 的文件夹,然后将Android的AOSP代码pull到这个文件夹下, 此时可以在Android_Q这个文件夹的同级路径下建个midi_file文件,来记录修改过的文件, 此时的aosp参数可以是:Android_Q

这个脚本的目的就是,将你记录的修改过的文件,提取出来,并保持原目录结构!

运行的结果会生成一个patch的文件夹,里面会包含midi_file里所有记录的文件!

shellcopy's People

Contributors

liuluyangdev avatar

Stargazers

momochen avatar

Watchers

James Cloos 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.