Giter Site home page Giter Site logo

copy-rename-repeat's Introduction

Copy Rename Repeat

You can set the target and destination folder using argvs (see below). Make sure they are not the same or empty or subfolders of each other.

Works with Python 2.7

Install python on debian/ubuntu with:

sudo apt update
sudo apt install python

Displaying help:

python repository.py --help

Examples:

python repository.py -s "source/" -d "destination/"

python repository.py -s ./ -d ../ordner/ -y

All new/changed files inside the source folder will be copied to the target folder. When there is already a version existing in the target folder, the script will check if it is old and copy it with an incremented version number in that case.

The script only uses some mkdir and copy code. Of course, copy could overwrite your files, but the script would increment the version number when a conflict is detected. Use it at your own risk. The good thing with open source is, that you can look at the code yourself and decide wether or not you trust it. It would be wise to try it with some dummy files first to see, if it works on your system. Tested with ubuntu and windows 10.

copy-rename-repeat's People

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.