Giter Site home page Giter Site logo

bmrenamefile's Introduction

BMRenameFile

批量修改一个文件夹下的文件和文件夹及其子文件夹的文件和文件夹

1. 打开终端
2. cd 需要处理的目录;
3. BMRenameFile Test BM; 

适用平台

Unix/Linux

安装

运行install.command 进行安装

命令使用

1. 简单方式

替换当前目录下的所有文件名字

BMRenameFile 被替换的关键字 要替换的关键字;

例子:
	BMRenameFile Test BM;

2. 指定目录
替换指定目录下所有符合规则的文件

BMRenameFile 被替换的关键字 要替换的关键字 指定目录(完整路径);

例子:
	BMRenameFile Test BM -p /Users/helios/test;
3. 处理方式
主要有以下3种处理方式:
0. 只修改文件的名字(默认)
1. 只修改目录的名字
2. 同时修改文件和目录的名字

例子:
	BMRenameFile Test BM -p /Users/helios/test -m 1;

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.