Giter Site home page Giter Site logo

raforg / mved Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 49 KB

carefully rename multiple files and directories

Home Page: http://raf.org/mved

License: GNU General Public License v2.0

Makefile 4.62% Perl 95.38%
perl cli filename filenames filenames-change

mved's Introduction

README

mved - carefully rename multiple files and directories

Description

mved renames multiple files and directories in a deeply paranoid fashion. At the slightest hint that you are going to destroy your files, it will bail out and tell you why.

mved is freely available under the terms of the GNU General Public License, either version 2 of the License, or (at your option) any later version.

For more information, read the manual entry in the Documentation section.

Examples

mved =.c~ bak/=.c.bak

    mv a.c~ bak/a.c.bak
    mv b.c~ bak/b.c.bak
    mv c.c~ bak/c.c.bak

mved '*.[ch]' save-=.=

    mv a.c save-a.c
    mv a.h save-a.h
    mv b.c save-b.c
    mv b.h save-b.h

mved save-=.= =.=

    mv save-a.c a.c
    mv save-a.o a.o
    mv save-b.c b.c
    mv save-b.o b.o

mved note= note=.txt

    mv note1 note1.txt
    mv note2 note2.txt
    mv note3 note3.txt

mved '[0-9][0-9][0-9][0-9][0-9][0-9]*' 19=5==6=-=3==4=-=1==2==7=

    mv 191299-app.log 1999-12-19-app.log
    mv 211299-app.log 1999-12-21-app.log
    mv 251299-app.log 1999-12-25-app.log
    mv 281299-app.log 1999-12-28-app.log

mved '{abc,def}.*' =-v2.=

    mv abc.txt abc-v2.txt
    mv def.txt def-v2.txt

Requirements

mved is written in Perl and should run on any system that has perl(1). There are no dependencies on any non-standard Perl modules.

Documentation

There is a manual entry:

mved(1) - the mved(1) manpage


URL: http://raf.org/mved
GIT: https://github.com/raforg/mved
GIT: https://codeberg.org/raforg/mved
Date: 20200625
Author: raf <[email protected]>

mved's People

Contributors

raforg avatar

Stargazers

 avatar  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.