GithubHelp home page GithubHelp logo

mvln's Introduction

mvln

Console application for moving folders and creating links to the destination. Roughly equivalent to:

$ mv a b
$ ln -s b a

which should result in:

$ ln -ls
lrwxrwxrwx  1 pseudo pseudo    1 Dec 30 13:13 a -> b
drwxr-xr-x  2 pseudo pseudo   40 Dec 30 13:12 b

Installation

$ git clone https://github.com/rasmusprentow/mvln.git
$ cd mvln
$ python setup.py install

Usage

$ mvln src dst

If multiple files are used the following syntax can be used:

$ mvln < spec.txt

Where spec.txt contains:

/path/to/source1/ /path/to/destination1/
/path/to/source2/ /path/to/destination2/

Why

Why did i create this project? Of course it could be done with a shell script. The reason is twofold. First, I wanted to learn python. Second, I needed a script which could move files and create links based on a specification file. Which is quite useful when you have a small SSD and a large HD in the same machine.

mvln's People

Contributors

saspre avatar

Watchers

 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.