GithubHelp home page GithubHelp logo

bak's Introduction

Bak - Simple file & directory backups

Have you ever been annoyed by typing cp some_file some_file.bak? No more! Just use bak some_file and it will automatically create a copy with the .bak extension.

Have you ever run mv some_directory.bak some_directory just to find out that some_directory still exists and now you have some_directory/some_directory.bak? No more! Just use unbak some_directory.bak and you're good.

bak and unbak work for both files and directories the same way, with no hassling around.

Installation

First, clone this git repository

git clone [email protected]:mimre25/bak.git

or

git clone https://github.com/mimre25/bak.git

Then, run

cargo build --release

to build the binaries.

Last, copy the binaries from target/release/bak and target/release/unbak to some place on your path, or add target/release to your path.

Anything else?

Nah, that's all. Just wanted to solve this little problem for myself and explore rust a bit on the way.

Use at your own risk

bak's People

Contributors

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